Which is better malloc or calloc?


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

Post New Answer

More C Interview Questions

Why void is used in c?

0 Answers  


int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?

15 Answers   Mascot,


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  


Differentiate between functions getch() and getche().

0 Answers  


What is the difference between typedef and #define?

0 Answers  






why 'c' is called middle level language.

2 Answers  


Difference between C and Embedded C?

1 Answers  


What is the c value paradox and how is it explained?

0 Answers  


String concatenation

2 Answers  


What is a memory leak in structures? How can we rectify that?

2 Answers  


Go through the following code sinippet char a[20]; a="Hello Orcale Test"; will this compile?

4 Answers   Oracle,


macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration

12 Answers   HCL, Infosys, Microsoft,


Categories