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

malloc()
allocates byte of memory and calloc() allocates block of
memory.

Is This Answer Correct ?    50 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2926


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

4368


List some of the static data structures in C?

1245


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1924


Explain what is the concatenation operator?

1233


How can I determine whether a machines byte order is big-endian or little-endian?

1124


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1487


Where are the auto variables stored?

1210


Give the rules for variable declaration?

1223


Write a code to generate divisors of an integer?

1106


Distinguish between actual and formal arguments.

1132


What do you mean by c what are the main characteristics of c language?

1077


What does *p++ do? What does it point to?

1124


Explain the difference between the local variable and global variable in c?

1135


What are the types of c language?

1083