help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why new[] adds 4 bytes to the returned address


From: JeanDean
Subject: Why new[] adds 4 bytes to the returned address
Date: 27 Feb 2007 21:09:03 -0800
User-agent: G2/1.0

MyClass *obj = new MyClass[3];

Even though address returned by new [] is 0x00365f50,
but obj gets automatically updated by 0x00365f54.
Why and who adds these addtional 4 bytes to the address?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]