C++ POINTERS (2020) - How to use pointers and arrays (for beginners) PROGRAMMING TUTORIAL

156 Просмотры
Издатель
In C++ array name represents the address of the first element of that array, and it can be used as a pointer to access other elements of that array as well.
This means that [ ] (square brackets) behave as a dereferencing operator.
The array name can also be used with * (asterisk) like we do when working with pointers.
Be very careful when accessing array elements, and don't use indexes that are out of the bounds of that array.

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
Категория
Язык программирования C++
Комментариев нет.