I want to know the highest address of a RAM. Say I have RAM 4GB (in a 32 bits computer) and 16GB (in a 64-bits computer), but it also shared with display, which is mean that not all the RAM used for application. I want to know what is the address of part of the RAM that it still unoccupied, and what is the data type inside of a particular memory address? Seems like many question in here. This is clearly about pointer and memory allocation. But actually is what I want to know is:
What is the command to know in C/C++? Say I want to access the content of a memory address '4294967295d' or 'FFFF FFFFh', or any other address.
My compiler is gcc both under Windows and under Linux.