Difference between malloc() and calloc() function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is ponter?

0 Answers   TCS,


program for comparing 2 strings without strcmp()

4 Answers  


Write code for finding depth of tree

2 Answers   Adobe,


Are negative numbers true in c?

0 Answers  


wat is the meaning of c?

9 Answers   CTS, IBM, Wipro,


Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

4 Answers   Accenture,


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

0 Answers  


write c program to display output 10(10+20)+(10+20+30)+ ... n term

0 Answers   Hindustan Gum Chemicals,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it

5 Answers   ABS, Accenture, HCL, Infosys, Infotech, SoftSolve, Software India, TCS, Vertex, Vimukti Technologies,


What is the difference b/w Structure & Array?

6 Answers  


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

0 Answers  


Why array starts with index 0

2 Answers  


Categories