开发者

Address shown is real address or logical address

开发者 https://www.devze.com 2023-03-24 15:23 出处:网络
When we print the address of variable does it represent the actual physical address or logical address ..

When we print the address of variable does it represent the actual physical address or logical address ..

In debug mode (visual studio) same a开发者_如何学编程ddress is shown repeatedly .


When you print the address of a variable it is always the virtual address.

Physical memory is abstracted away from you at a low level in your operating system, during normal operation users and developers will seldom ever be concerned with physical memory.

Learn more about virtual memory from Wikipedia

0

精彩评论

暂无评论...
验证码 换一张
取 消