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

How can I get random integers in a certain range?

1065


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2177


which is an algorithm for sorting in a growing Lexicographic order

1803


Write a program to swap two numbers without using third variable?

1295


What is the best style for code layout in c?

1100


Is array a primitive data type in c?

1057


Which are low level languages?

1092


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1881


please send me the code for multiplying sparse matrix using c

2174


What is int main () in c?

1085


What does 4d mean in c?

1499


Lists the benefits of c programming language?

1138


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

2123


Tell me can the size of an array be declared at runtime?

1044


Why clrscr is used after variable declaration?

1688