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

show how link list can be used to repersent the following polynomial i) 5x+2

2398


given post order,in order construct the corresponding binary tree

2854


What are the main characteristics of c language describe the structure of ac program?

1264


number of times a digit is present in a number

2081


Why is it usually a bad idea to use gets()? Suggest a workaround.

1871


What is the most efficient way to store flag values?

1232


Why ca not I do something like this?

1065


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1321


State two uses of pointers in C?

1108


What is #include stdio h?

1178


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

3658


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1431


Difference between malloc() and calloc() function?

1271


What is difference between Structure and Unions?

1311


What is the easiest sorting method to use?

1243