请问这句话怎么理解?allocates a new memory for its member px at the same address as in object x and stores 16 in it.

bigdesk (NightLight)
since allocate a new memory then how come "at the same address" ?

1- why at the same address?
2- how to fix the problem??

thanks!
(#163180@0)
2001-8-11 -05:00

回到话题: 国内一家公司招聘C++ Programmer的面试题:

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=163180