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 "malloc"?

Answer Posted / shweta

calloc initializes memory with 0 while malloc doesn't
initializes.

Is This Answer Correct ?    25 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the best c++ compiler?

993


What is the difference between cin.read() and cin.getline()?

1017


Why c++ does not have finally?

1023


Explain the volatile and mutable keywords.

1031


What is difference between malloc()/free() and new/delete?

1118


What is the use of cmath in c++?

1009


Explain the difference between struct and class in terms of access modifier.

1134


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

1090


Can member data be public?

995


What are exceptions c++?

994


What is the need of a destructor?

1072


What are enumerations?

1054


Why do we use string in c++?

891


What is lambda expression c++?

1005


what is oops and list its features in c++?

999