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 does " calloc" do?

Answer Posted / shubham bajpai

CALLOC FUNCTION DYNAMICALLY ALLOCATES MEMORY IN FORM OF BLOCKS(CONSECUTIVE) & INITIALIZES ALL BLOCKS TO 0.

CALLOC FUNCTION REQUIRES 2 ARGUMENTS IN ITS CALLING.

EXAMPLE:

PTR=(INT *)CALLOC(SIZEOF(INT),N);

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a spanning Tree?

1593


What are the different types of control structures in programming?

1136


Why is c called c not d or e?

1101


Which is the best website to learn c programming?

1078


With the help of using classes, write a program to add two numbers.

1042


What is c value paradox explain?

1099


What is structure packing in c?

1082


Why do we use int main instead of void main in c?

1153


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1263


What is meant by int main ()?

1211


What is scanf () in c?

1126


define string ?

1108


Do you know the purpose of 'register' keyword?

1023


What does the c preprocessor do?

1111


what is the height of tree if leaf node is at level 3. please explain

2153