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

memory allocation using callo

P: 2
If sufficient memory is not available, then can calloc allocate the blocks at different locations ??????
Aug 8 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 10K+
P: 11,448
If sufficient memory is not available, then can calloc allocate the blocks at different locations ??????
No, calloc can only allocate n items of size s as one consecutive area of memory.

kind regards,

Jos
Aug 8 '07 #2

Post your reply

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