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
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is wild pointer in c?
What is the difference between text and binary modes?
Is it possible to have a function as a parameter in another function?
Explain what math functions are available for integers? For floating point?
What is the difference between %d and %i?
Can you mix old-style and new-style function syntax?
Give me the code of in-order recursive and non-recursive.
write a program to create a sparse matrix using dynamic memory allocation.
List the difference between a "copy constructor" and a "assignment operator"?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Do you have any idea how to compare array with pointer in c?
Why isnt there a numbered, multi-level break statement to break out
What is the difference between fread and fwrite function?
Explain what is the difference between text files and binary files?