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
What is the difference between printf and scanf in c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is a #include preprocessor?
Write a program to swap two numbers without using the third variable?
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
What is queue in c?
Write a program to check whether a number is prime or not using c?
What are global variables and explain how do you declare them?
What is pragma in c?
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?
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
Where are the auto variables stored?
What are categories used for in c?
What is scanf_s in c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?