开发者

Address shown is real 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜