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

calloc means alloting memory dynamically
malloc means alloting memory at first and it is fixed

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is endl c++?

1106


Can malloc be used in c++?

1089


the first character in the variable name must be an a) special symbol b) number c) alphabet

1103


What are the five basic elements of a c++ program?

1120


What is meant by forward referencing and when should it be used?

1029


When can I use a forward declaration?

1110


Why is null pointer used?

1182


What are the advantages of using a pointer?

1083


What is the difference between prefix and postfix versions of operator++()?

1091


What does ctime() do?

1156


Does c++ have finally?

1049


Which is most difficult programming language?

1114


What is the purpose of extern storage specifier?

1194


Explain storage qualifiers in c++.

1092


How we can differentiate between a pre and post increment operators during overloading?

1116