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

How can you draw circles in C?

1156


What are the Advantages of using macro

1166


What is variable and explain rules to declare variable in c?

1085


Explain the difference between ++u and u++?

1131


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16762


How do you define a function?

1022


How many parameters should a function have?

1186


What is the stack in c?

1130


What is spark map function?

1125


Explain how can type-insensitive macros be created?

988


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

1102


Explain how do you list files in a directory?

1067


What is main return c?

995


Why & is used in scanf in c?

1099


Why does the call char scanf work?

1202