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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of static variable in c?

1052


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

968


What is null in c?

1016


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

2173


What is the purpose of void in c?

1003


How is a macro different from a function?

1128


What are the usage of pointer in c?

1139


What is function in c with example?

1096


What are pragmas and what are they good for?

945


Explain how can I pad a string to a known length?

1136


How does normalization of huge pointer works?

1110


What is a nested formula?

1070


What will be your course of action for a push operation?

1063


What is a structure member in c?

961


What is function and its example?

1126