Pointer question

Hello,
do c++ pointers point to absolute address (RAM address) or relative to where the program starts in memory? And what's the difference between pointer behavior in debug and release versions? Thanks.
do c++ pointers point to absolute address (RAM address) or relative to where the program starts in memory?
Pointers refer to the absolute address space (irrespective of where that is mapped).

And what's the difference between pointer behavior in debug and release versions?
Debug builds tend to have extra checks. Regard the Microsoft compilers and the heap, extra checking facilities are used to assist the detection of heap misuse. They incure a time/space cost. Release does not include these tests.
Topic archived. No new replies allowed.