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 the difference between calloc() and realloc()?

Answer Posted / nashiinformaticssolutions

calloc() allocates memory and initializes it to zero.
realloc() resizes previously allocated memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why & is used in scanf in c?

1049


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1103


Write a code to generate a series where the next element is the sum of last k terms.

1169


If null and 0 are equivalent as null pointer constants, which should I use?

1119


How can I handle floating-point exceptions gracefully?

1107


What is the best way to comment out a section of code that contains comments?

1263


What oops means?

932


Is c dynamically typed?

1090


What is the right way to use errno?

1002


Why c is called a middle level language?

1052


What is a structure and why it is used?

1134


What is the use of header files?

1057


Write a program to reverse a given number in c?

980


Is c is a low level language?

1067


Explain b+ tree?

1006