A pointer is a variable that stores the memory address within your RAM.
Whenever things are stored in a program, they are stored to RAM. RAM is indexed, so that each an every byte has its own address (which is just a number).
If you know something’s address, you can read (or write) what is stored there. So the pointer, just “points” you to the location of something stored within the RAM.
There are some useful properties, and helpful times to use it, but they are sometimes tough to understand at first.
Feel free to ask smaller details, or if something I said didn’t make any sense.
Latest Answers