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
How do you list a file’s date and time?
Combinations of fibanocci prime series
What is selection sort in c?
What is the difference between call by value and call by reference in c?
Can you explain the four storage classes in C?
How do I read the arrow keys? What about function keys?
What is the difference between null pointer and wild pointer?
Explain how can you tell whether two strings are the same?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is the use of printf() and scanf() functions?
how to create duplicate link list using C???
What are called c variables?
Which one would you prefer - a macro or a function?
What is scope and lifetime of a variable in c?
How can I insert or delete a line (or record) in the middle of a file?