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 malloc() and calloc() function?

Answer Posted / amritha rose

malloc will allocate memory according to the size we
specified
calloc vil allocate memory as blockwise
and initialize by 0

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why doesnt the call scanf work?

1195


How do I copy files?

1061


Explain what are header files and explain what are its uses in c programming?

1160


What is nested structure in c?

1069


Explain why can’t constant values be used to define an array’s initial size?

1357


How to throw some light on the b tree?

1090


What is the use of c language in real life?

1027


Does sprintf put null character?

1049


What is the difference between fread buffer() and fwrite buffer()?

1182


Do pointers take up memory?

1161


using for loop sum 2 number of any 4 digit number in c language

2350


Write a program to check prime number in c programming?

1096


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

1117


What is integer constants?

1083


Why is it that not all header files are declared in every C program?

1225