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()?

Answers were Sorted based on User's Feedback



What is the difference between malloc() and calloc()?..

Answer / nashiinformaticssolutions

 malloc(): Allocates a single block of memory without initializing it.
 calloc(): Allocates multiple blocks of memory and initializes them to zero.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between malloc() and calloc()?..

Answer / glibwaresoftsolutions

 malloc(): Allocates a single block of memory without initializing it.
 calloc(): Allocates multiple blocks of memory and initializes them to zero.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between malloc() and calloc()?..

Answer / hr@tgksolutions.com

 malloc(): Allocates a single block of memory without initializing it.
 calloc(): Allocates multiple blocks of memory and initializes them to zero.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Explain how do you print an address?

0 Answers  


write a program in C to swap two variables

7 Answers   Attrabyte, Marlabs,


what is the use of a array in c

6 Answers  


What are the different types of storage classes in C?

3 Answers  


Do array subscripts always start with zero?

0 Answers  


Disadvantages of C language.

0 Answers   Impetus,


How can I ensure that integer arithmetic doesnt overflow?

0 Answers  


What is the difference b/w Structure & Union?

3 Answers  


What is the use of the sizeof operator?

2 Answers  


what is c?

13 Answers   Tech Mahindra,


Is c is a middle level language?

0 Answers  


What does static mean in c?

1 Answers  


Categories