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 can a program be made to print the name of a source file where an error occurs?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What is a pointer on a pointer in c programming language?
What is an lvalue in c?
Describe dynamic data structure in c programming language?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Describe wild pointers in c?
Why is c still so popular?
Explain high-order and low-order bytes.
Which is the best website to learn c programming?
What is a lvalue
What kind of structure is a house?
Is calloc better than malloc?
What is #define used for in c?
When c language was developed?