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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of array float a(10)?

1188


What does %p mean?

1154


What is the use of #include in c?

1126


What is the meaning of && in c?

1085


Explain what is a static function?

1156


Write a function that will take in a phone number and output all possible alphabetical combinations

1098


Is there anything like an ifdef for typedefs?

1215


What is the role of this pointer?

1126


Differentiate between static and dynamic modeling.

1185


Explain pointer. What are function pointers in C?

1145


Difference between linking and loading?

1155


while initialization of array why we use a[][2] why not a[2][]...?

2400


What is strcpy() function?

1219


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1339


How can I do peek and poke in c?

1135