GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 138 of 255    Print  
How much maximum can you allocate in a single call to malloc()?

  
Total Answers and Comments: 3 Last Update: January 26, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 22, 2007 03:46:17   #1  
akhilesh        

RE: How much maximum can you allocate in a single cal...
64 kb
 
Is this answer useful? Yes | No
July 26, 2007 01:10:08   #2  
jeet        

RE: How much maximum can you allocate in a single cal...
Why we can allocate only 64kb in single call.
 
Is this answer useful? Yes | No
January 26, 2008 17:40:09   #3  
zdmytriv Member Since: January 2008   Contribution: 8    

RE: How much maximum can you allocate in a single call to malloc()?
The largest possible memory block malloc can allocate depends on the host system, particularly the size of physical memory and the operating system implementation. Theoretically, the largest number should be the maximum value that can be held in a size_t type, which is an implementation-dependent unsigned integer representing the size of an area of memory. The maximum value is (size_t) −1, or the constant SIZE_MAX in the C99 standard.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape