Differentiate between calloc and malloc.


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

Post New Answer

More C Interview Questions

Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

0 Answers  


what is the return type of printf

3 Answers  


biggest of two no's with out using if condition statement

5 Answers  


FILE PROGRAMMING

0 Answers   Wipro,


What is the difference between malloc() and calloc()?

0 Answers  






what is the different bitween abap and abap-hr?

0 Answers   TCS,


Write a program for deleting duplicate elements in an array

3 Answers   Subex,


What's wrong with "char *p = malloc(10);" ?

4 Answers  


main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

5 Answers   Vector, Vector Solutions,


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

0 Answers  


What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }

4 Answers   Infosys, TCS,


What is the use of clrscr?

0 Answers  


Categories