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

malloc and calloc both are used to allocate
memory dynamically but the difference is
malloc allocates single block of memory and
calloc allocates multiple block of memory as
per the requirement.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program in c language to print your bio-data on the screen by using functions.

6728


What are header files? What are their uses?

1122


Give basis knowledge of web designing ...

1980


By using C language input a date into it and if it is right?

1019


hi send me sample aptitude papers of cts?

2105


how can use subset in c program and give more example

1925


What is the argument of a function in c?

988


How many main () function we can have in a project?

1064


Which is the best website to learn c programming?

1029


What is #line used for?

987


What is the use of #include in c?

1035


What is the correct code to have following output in c using nested for loop?

1026


Why is it important to memset a variable, immediately after allocating memory to it ?

1997


Differentiate between ordinary variable and pointer in c.

1100


Do pointers need to be initialized?

1017