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

malloc: malloc create the single block of given size by user
calloc: calloc creates multiple blocks of given size

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

2183


Can you subtract pointers from each other? Why would you?

1008


what do you mean by inline function in C?

1101


What is wrong with this program statement?

1088


How can I determine whether a machines byte order is big-endian or little-endian?

1124


Explain union. What are its advantages?

1126


Differentiate between a structure and a union.

1333


What is abstract data structure in c?

1110


How do I copy files?

1108


What is volatile variable how do you declare it?

1186


How do I create a directory? How do I remove a directory (and its contents)?

1223


How are pointers declared in c?

1115


How can you pass an array to a function by value?

1178


How can you find out how much memory is available?

1114


main() { printf("hello"); fork(); }

1249