>> A pointer is a variable that holds, literally points to, a memory address
What is a memory address?
How does a pointer literally point to a memory address?
>> A pointer is a variable that holds, literally points to, a memory address
What is a memory address?
How does a pointer literally point to a memory address?
You can though, say, to help learners that the address of an object is a value which can be used to indirectly access the object. You could say that it's a value that you can keep with you, to access the object later, indirectly.
And, as any language that I am aware of. Things are usually defined abstractly (in terms of what you want to be true about them). C is not different. You won't find concrete definitions (things may look concretely defined, but they're not). As far as we're concerned, addresses are these things that
- the address-of operator returns
- is help by pointers
- can be indirected
- ...
It could be represented as a character string for all we know.