3 ms·
Well, memory address is a memory address and pointer is a pointer. You can have virtual function pointer in C++, which is much more than just a memory address,
by vbezhenar 10y ago
Well, memory address is a memory address and pointer is a pointer. You can have virtual function pointer in C++, which is much more than just a memory address, it's a complex value, yet it's called a function pointer. If you're using that definition then yes, but I don't think that everyone uses it. For me pointer is an entity which points to some value, the key is an indirection, not an implementation. I think, that even C++ would allow compiler to implement pointers as something opaque (e.g. for safety).