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

malloc: malloc create the single block of given size by user
calloc: calloc creates multiple blocks of given size

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is null defined in c?

1105


Is swift based on c?

1057


What is indirection in c?

1025


Explain the properties of union. What is the size of a union variable

1132


What is the advantage of using #define to declare a constant?

1040


What is exit() function?

968


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2415


How is pointer initialized in c?

979


What is a function in c?

1489


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1630


In which language linux is written?

1169


What is the significance of an algorithm to C programming?

1001


write a c program to find the sum of five entered numbers using an array named number

2078


write a program to display all prime numbers

1914


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

1262