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

What is 2 d array in c?

959


Is that possible to store 32768 in an int data type variable?

1033


What are data structures in c and how to use them?

1094


Differentiate between Macro and ordinary definition.

1273


What are identifiers c?

1020


What is the purpose of the statement: strcat (S2, S1)?

1076


What are header files in c?

1020


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

1070


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1017


What are all different types of pointers in c?

957


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

1235


Who is the main contributor in designing the c language after dennis ritchie?

953


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

1103


What is a char in c?

931


How many loops are there in c?

1047