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

hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1909


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2180


What is static memory allocation?

1175


what do you mean by inline function in C?

1056


What is the difference between volatile and const volatile?

986


How to Throw some light on the splay trees?

1064


How many keywords (reserve words) are in c?

1142


What type is sizeof?

1039


what is the role you expect in software industry?

2146


What is actual argument?

1062


What are the header files used in c language?

1055


How can I find out the size of a file, prior to reading it in?

1173


What is advantage of pointer in c?

1184


How can I read in an object file and jump to locations in it?

1031


How can I do serial ("comm") port I/O?

1182