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


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

Post New Answer

More C Interview Questions

When should a type cast not be used?

0 Answers  


Tell me when is a void pointer used?

0 Answers  


main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }

1 Answers   CodeChef,


diff .between strcture and union

2 Answers  


Average of a couple 10 years ago was 25. The average remains same after having a child and twins after 3 years. What is the present age of the first child

10 Answers   IBM, Infosys,






Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).

0 Answers  


write a program to generate 1st n fibonacci prime number

2 Answers  


Ow can I insert or delete a line (or record) in the middle of a file?

0 Answers  


how to find that no is int or float?

5 Answers  


What is a double c?

0 Answers  


What does %c do in c?

0 Answers  


write a reverse string to print a stars.(with out using logic) ***** **** *** ** *

2 Answers  


Categories