A succinct tutorial on passing pointers to functions in C++. By passing a pointer to a function, or passing by reference, we can directly manipulate the data stored in a variable inside a function without our changes being removed by scope. If you want to change the value of a variable in a function, and have that change be preserved outside of the function, you need to pass it by reference.
This video is part of a series of tutorials exploring beginner, intermediate, and advanced C++ programming topics one concept at a time.
Смотрите видео C++ Tutorial for Beginners: Passing by Reference онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Eric O Meehan 29 Январь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 302 раз и оно понравилось 16 людям.