Hello All,
How is an address being calculated by the compiler? or what does the compiler do internally when I write the following:
For example:
When I say
some memory is allocated with some address by the compiler. My question is how?
As per my understanding, the compiler takes the sizeof datatype which is "int" in above case and then does some manipulation to calculate the address which is a part of memory?
Can someone please clear me about this?
Thanks in advance.
Bookmarks