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() in c
file management?

Answer Posted / vini sharma

malloc()
allocates byte of memory and calloc() allocates block of
memory.

Is This Answer Correct ?    50 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1020


Explain what is gets() function?

1018


What is a global variable in c?

958


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1051


How can I read a binary data file properly?

1089


What is the use of function in c?

1145


What are header files? What are their uses?

1126


How to implement a packet in C

2836


What is structure padding and packing in c?

1008


‎How to define structures? · ‎

1036


What is #line in c?

963


What is %lu in c?

1181


Can 'this' pointer by used in the constructor?

1047


What is c method?

944


Can we declare variables anywhere in c?

950