Why there is difference in the heap , static and local memory locations.
If we observer the below memory locations it shows that functions, static memory variables , global variable and heap meomory variables are of only 7 digits where as local variables are of 8 digits
Code:
Output
Address of function f1:80483a0, f2:80483e8 and main :80483ff
Address of all the local variables in main
uila :bffdf8e4, ila :bffdf8e0 uisl :80498c8 isl:80498c0
Address of all the global variables in main
uig1:80498cc ig1:80498b4
uig2:80498d4 ig2:80498b8
uig3:80498d0 ig3:80498bc
Address of dynamically allocated memory : 916c008
Addresses of all the local and parameter variables of f1
Addresses of parameter variables pa:bffdf8c0 pb:bffdf8c4
Addresses of local variables x:bffdf8b4 y:bffdf8b0
Addresses of all the local and parameter variables of f1
Addresses of parameter variables pa:bffdf8b0 pb:bffdf8b4
Addresses of local variables x:bffdf8a4 y:bffdf8a0
Addresses of all the local and parameter variables of f1
Addresses of parameter variables pa:bffdf8c0 pb:bffdf8c4
Addresses of local variables x:bffdf8b4 y:bffdf8b0
is it any thing related to the 32 bit or 64 bit computers?
How to know does our system is of 32 bit or 62 bit based ?