[Basic C++] 10 - What is a pointer in C++ (1/2)
2020. 5. 25.
In this post, I am going to talk about the definition of a pointer and its usage in C++. You might already know what a pointer is; a pointer is a variable that holds the address of a variable. A pointer does not only store an address of a simple variable such as int, char, and double, but also an array, function, and even class, struct, and union. There are more than three kinds of pointers in C..