How can I allocate arrays or structures bigger than 64K?
Answer Posted / s.v.prasad reddy,lifetree
Generally using the malloc() function maximum we can
allocate the 64K memory.
If you want to allocate the memory larger than 64K then you
have to use the farmalloc() memory management function.
And one more important thing is ,Once memory is allocated
by the farmalloc(),then to free that memory we need to use
only farfree() fuction.We can't use the free() fuction to
free that memory.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
Differentiate between static and dynamic modeling.
Does * p ++ increment p or what it points to?
What are structure types in C?
Explain why c is faster than c++?
What is pointer in c?
What is const and volatile in c?
Explain how do you determine a file’s attributes?
Where is c used?
why return type of main is not necessary in linux
What is double pointer?
What is a good way to implement complex numbers in c?
What does it mean when a pointer is used in an if statement?
What are the types of unary operators?
how to make a scientific calculater ?
What is getch c?