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

What is a char c?

1089


What is the use of bit field?

1236


all c language question

2490


Define the scope of static variables.

1199


Is c is a middle level language?

1126


What are the 4 types of functions?

1110


Which header file is used for clrscr?

1108


How do I convert a string to all upper or lower case?

1173


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1431


Does * p ++ increment p or what it points to?

1190


What is the use of pointers in C?

1134


How can I dynamically allocate arrays?

1164


What is void pointers in c?

1066


Can a variable be both constant and volatile?

1183


How is a structure member accessed?

1189