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 / sekhar

free takes the pointer variable as argument. The intial
data at that location holds a value of number of bytes that
pointer is pointing to. Based on that information, it frees
the memory.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why void main is used in c?

1053


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1643


Is fortran faster than c?

1046


What are register variables? What are the advantage of using register variables?

1191


What is the maximum length of an identifier?

1188


How do you write a program which produces its own source code as output?

1122


Is c# a good language?

1016


What is a program?

1272


What is a lookup table in c?

1124


Write a code to generate divisors of an integer?

1072


what are non standard function in c

1916


What is a union?

1039


Explain how to reverse singly link list.

1148


Why dont c comments nest?

1053


What is a double c?

990