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 does free() know how many bytes to free?

Answer Posted / guest

The malloc/free implementation remembers the size of each
block allocated and returned.

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value of local and global variables in c?

1027


Define the scope of static variables.

1113


Does * p ++ increment p or what it points to?

1104


Why is it usually a bad idea to use gets()? Suggest a workaround.

1762


How to throw some light on the b tree?

1065


what is the difference between 123 and 0123 in c?

1190


What's the best way of making my program efficient?

1080


The file stdio.h, what does it contain?

1144


How are Structure passing and returning implemented by the complier?

1150


What is string function c?

1003


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

1061


Explain what is wrong with this program statement? Void = 10;

1244


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1373


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

4251


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

1096