What does “internal pointer variable” actually mean and why is it called that?

268 views

So we’ve all seen the clip of an Indian teacher explaining that it “is called internal pointer variable”, but what does it actually mean and why?

In: 0

2 Answers

Anonymous 0 Comments

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.

You are viewing 1 out of 2 answers, click here to view all answers.