We can return more than one value from a function. One way to do this is with the help of pointers. This method is called "call by reference", and it passes the address of a variable to the invoked function. In this video, you have an example of how that is done.
We'll be writing C++ code using Visual Studio 2019 Comunity.
Link for download: https://visualstudio.microsoft.com/vs/
Follow me on other platforms:
Instagram
We'll be writing C++ code using Visual Studio 2019 Comunity.
Link for download: https://visualstudio.microsoft.com/vs/
Follow me on other platforms:
- Категория
- Язык программирования C++
Комментариев нет.