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

malloc occupies byte of space in memory location and holds
only one argument of data bytes.
calloc occupies and holds 2 bytes of memory in address
location with arguments databytes,number of data bytes.
calloc occupies in structure of blocks and malloc allocates
in struncture of databytes.

Is This Answer Correct ?    14 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I round numbers?

1055


What is function pointer c?

1192


Explain how can I right-justify a string?

1098


how we can make 3d venturing graphics on outer interface

4904


What is the difference between declaring a variable and defining a variable?

1348


What is c variable?

1101


What does the message "automatic aggregate intialization is an ansi feature" mean?

1245


Stimulate calculator using Switch-case-default statement for two numbers

3041


What is static memory allocation? Explain

1138


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2858


What do you mean by recursion in c?

1168


Explain what is a program flowchart and explain how does it help in writing a program?

1143


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1181


Explain what are compound statements?

1106


How can I find out how much free space is available on disk?

1106