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

free(ptr);

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. According to the information, it
frees
the memory.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why & is used in scanf in c?

1146


What is a char in c?

1042


What are the 5 data types?

1211


What is ctrl c called?

1103


What is type qualifiers?

1191


What does int main () mean?

1078


Why main is not a keyword in c?

1324


What are categories used for in c?

1153


What is switch in c?

1161


Explain 'bus error'?

1166


What is const keyword in c?

1221


Why do we use stdio h and conio h?

1136


What is union in c?

1167


How can you read a directory in a C program?

1186


How pointers are declared?

1011