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
What is a spanning Tree?
What are the different types of control structures in programming?
Why is c called c not d or e?
Which is the best website to learn c programming?
With the help of using classes, write a program to add two numbers.
What is c value paradox explain?
What is structure packing in c?
Why do we use int main instead of void main in c?
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?
What is meant by int main ()?
What is scanf () in c?
define string ?
Do you know the purpose of 'register' keyword?
What does the c preprocessor do?
what is the height of tree if leaf node is at level 3. please explain