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 / madan gopal singh

malloc() is a one argument function while calloc() is two
argument function
malloc() take garbage value at initial time while calloc()
take null values at initial time

Is This Answer Correct ?    27 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the modifier in c?

1102


How can I access an I o board directly?

1093


Hi can anyone tell what is a start up code?

2079


write a program to find the given number is prime or not

4770


Explain 'bit masking'?

1089


What is 1f in c?

2664


What are static variables in c?

1084


Why should I use standard library functions instead of writing my own?

1274


Why array is used in c?

1016


How can a process change an environment variable in its caller?

1190


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1252


What do you mean by scope of a variable in c?

1015


Which function in C can be used to append a string to another string?

1222


What is string length in c?

1104


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1795