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
What is pointer to pointer in c?
What is function pointer c?
What is indirection?
What does sizeof function do?
What is the use of pointers in C?
What is the difference between typedef and #define?
What is meant by int main ()?
What is a global variable in c?
What is malloc calloc and realloc in c?
What is the most efficient way to count the number of bits which are set in an integer?
Here is a neat trick for checking whether two strings are equal
Why c is a mother language?
Explain which function in c can be used to append a string to another string?
What is wrong in this statement? scanf(ā%dā,whatnumber);
Why is struct padding needed?