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

Malloc() is used to allocate a block of memory

Calloc() is used to allocate a block of memory and initialize it.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the method to save data in stack data structure type?

1091


How many types of arrays are there in c?

1049


What are enums in c?

1210


What are the main characteristics of c language describe the structure of ac program?

1214


What is c variable?

1049


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2255


What does a pointer variable always consist of?

1103


What is #define size in c?

1197


write a program to copy the string using switch case?

2907


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

1084


What is string length in c?

1105


What's the total generic pointer type?

1055


C program to find all possible outcomes of a dice?

2365


What are the benefits of organizational structure?

1031


Do pointers take up memory?

1165