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

malloc() doesnot initialize the allocated memory
calloc() initializes the allocated memory to ZERO

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need a structure?

980


Are negative numbers true in c?

1001


How can I sort a linked list?

973


How do I copy files?

1001


How can I get random integers in a certain range?

1016


Here is a good puzzle: how do you write a program which produces its own source code as output?

1036


Are the variables argc and argv are local to main?

1252


What are global variables and explain how do you declare them?

1031


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2079


What is the purpose of ftell?

1034


What is an operator?

1019


What is cohesion in c?

923


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1383


In a byte, what is the maximum decimal number that you can accommodate?

1072


Differentiate between Macro and ordinary definition.

1273