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

Tell me the use of bit field in c language?

1015


What are the 5 types of organizational structures?

1014


What will be the outcome of the following conditional statement if the value of variable s is 10?

1228


Write a code of a general series where the next element is the sum of last k terms.

984


What is a stream?

1078


Why main function is special give two reasons?

1477


What is c value paradox explain?

1014


What is signed and unsigned?

1011


What is the difference between array and structure in c?

1074


Explain the advantages of using macro in c language?

947


What is the difference between printf and scanf )?

1019


Explain 'far' and 'near' pointers in c.

1077


Who developed c language?

1035


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1895


What is a spanning Tree?

1497