By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,983 Members | 2,049 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,983 IT Pros & Developers. It's quick & easy.

objects

P: 1
when and how are heap objects created and initialized
Sep 18 '06 #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,916
Objects on the heap generally get there through the use of malloc/calloc or new.

If the objected is malloc/calloc'd then it is not initialised, if the object is new'd then as it is new'd it's constructor is called.
Sep 18 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.