memory adress at complie time

October 17, 2010 at 17:33:34
Specs: Windows XP
when we compile our program we see such type fo adress.. how it show memory adress.. let say int a; and it s memory address is 0011A6GFF0 let say tis an adress . in this adress what it show.. its a hxadecimel numer.. whst it does show.. and if we use pointers. as i know that pointer do't take space in memory. than where it s tore.. is there already pointer that jsut pointer to memory location.. tahn where actualyy pointers are stored? is that take space in memory.. please explain me this concept. and whst is 32 bit OS. is that mean related to 32 bit adress. whst is that all.. how memory showed to su when we compile our program

See More: memory adress at complie time

Report •


#1
October 18, 2010 at 10:52:21
i know that pointer do't take space in memory
They do take up space. The memory addresses themselves don't take up any room, but the pointers/references themselves do.
 std::cout << sizeof(void*) << '\n';

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question