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
show how link list can be used to repersent the following polynomial i) 5x+2
given post order,in order construct the corresponding binary tree
What are the main characteristics of c language describe the structure of ac program?
number of times a digit is present in a number
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is the most efficient way to store flag values?
Why ca not I do something like this?
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
State two uses of pointers in C?
What is #include stdio h?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Difference between malloc() and calloc() function?
What is difference between Structure and Unions?
What is the easiest sorting method to use?