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 / datta khilari

1.malloc() takes one argument and allocates memory in a
bytes and return to the pointer.
1.calloc() takes two argument and allocates memory in a
blocks and return to the pointer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you delete a node in DLL?

1338


What is an lvalue?

1107


Explain can you assign a different address to an array tag?

1124


Can you return null in c?

1229


How can you call a function, given its name as a string?

1209


How can I make it pause before closing the program output window?

1081


What is difference between arrays and pointers?

1151


Should a function contain a return statement if it does not return a value?

1138


What are the application of void data type in c?

1235


Why flag is used in c?

1181


What is preprocessor with example?

1116


What is data types?

1139


What does & mean in scanf?

1166


How to draw the flowchart for structure programs?

9392


What does %2f mean in c?

1284