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 are the various memory handling mechanisms in C ?

Answer Posted / santhi

thre are 3 memory handling mechanisms.they are
malloc,calloc,ralloc.
malloc:which allocates memory to a variable dynamically.
calloc:which allocates blocks of memory.
ralloc: which can be used to reallocation of memory incase
of unsufficient memory which is allocated earlier.
using "delete" we can free the memory allocated to a
variable.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #line?

1059


Is javascript written in c?

1066


difference between native and cross compilers

2130


Difference between linking and loading?

1113


the question is that what you have been doing all these periods (one year gap)

2090


What do you understand by friend-functions? How are they used?

1210


Explain how can I right-justify a string?

1046


What is || operator and how does it function in a program?

1093


What is formal argument?

1138


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1259


How can you avoid including a header more than once?

986


What is malloc() function?

1165


What is the most efficient way to count the number of bits which are set in an integer?

1063


What is quick sort in c?

1093


How many types of functions are there in c?

1146