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...

What is Dynamic memory allocation in C? Name the dynamic allocation functions.

Answer Posted / hrpynux@gmail.com

To allocate memory dynamically, library functions are malloc() , calloc() , realloc() and free() are used. ... These functions are defined in the <stdlib. h> header file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the purpose of "extern" keyword in a function declaration?

1065


What is an operator?

1068


how to make a scientific calculater ?

2066


Why functions are used in c?

1128


What are near, far and huge pointers?

1052


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

1101


What is the purpose of realloc()?

1139


What is the difference between if else and switchstatement

1926


Explain what are reserved words?

1100


How will you delete a node in DLL?

1284


What is the correct code to have following output in c using nested for loop?

1076


Difference between linking and loading?

1094


When should you not use a type cast?

1119


What is the purpose of void in c?

1065


Write a program to swap two numbers without using the third variable?

1061