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

malloc:
malloc create the single block of given size by user
calloc:
calloc creates multiple blocks of given size

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we change the basic meaning of an operator in c++?

1114


What are the vectors in c++?

1033


What is virtual destructor? What is its use?

1076


Explain function overloading

1016


Define the process of handling in case of destructor failure?

1066


What is c++ map?

1161


Is it possible to provide default values while overloading a binary operator?

1268


What is the use of dot in c++?

1085


What is the full name of logo?

1122


How does class accomplish data hiding in c++?

1182


Explain the differences between private, public and protected and give examples.

1025


Distinguish between new and malloc and delete and free().

1022


What are structures and unions?

1006


What is the type of this pointer in c++?

1069


What is the difference between mutex and binary semaphore?

1225