what does " calloc" do?

Answer Posted / shruti

the calloc function will allocate memory , and also
initialise the variables to a particular value..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between printf and scanf in c?

734


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

692


What is a #include preprocessor?

600


Write a program to swap two numbers without using the third variable?

587


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

626






What is queue in c?

565


Write a program to check whether a number is prime or not using c?

565


What are global variables and explain how do you declare them?

561


What is pragma in c?

616


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

657


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

1577


Where are the auto variables stored?

616


What are categories used for in c?

552


What is scanf_s in c?

621


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

678