Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1075


What is wild pointer in c?

1055


What is the difference between text and binary modes?

1174


Is it possible to have a function as a parameter in another function?

1062


Explain what math functions are available for integers? For floating point?

1097


What is the difference between %d and %i?

1085


Can you mix old-style and new-style function syntax?

1087


Give me the code of in-order recursive and non-recursive.

1360


write a program to create a sparse matrix using dynamic memory allocation.

4880


List the difference between a "copy constructor" and a "assignment operator"?

995


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1940


Do you have any idea how to compare array with pointer in c?

1036


Why isnt there a numbered, multi-level break statement to break out

1031


What is the difference between fread and fwrite function?

1069


Explain what is the difference between text files and binary files?

1139