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

Which is not a valid keyword a) public b) protected c) guarded

1307


Is map ordered c++?

1147


What is the need of a destructor?

1200


What is the type of 'this' pointer?

1060


How to allocate memory dynamically for a reference?

1095


Is c++ a good first language to learn?

1120


Why is swift so fast?

1178


What is c++ hiding?

1302


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

1221


What is basic if statement syntax?

1151


How would you use the functions memcpy(), memset(), memmove()?

1146


What is abstraction in c++?

1429


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

1116


Which function cannot be overloaded c++?

1165


what is VOID?

1125