Explain the 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

Explain how do you generate random numbers in c?

0 Answers  


what is the difference between entry control and exit control statement?

12 Answers   Darbari Lal DAV Model School,


hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STRUCTURES

2 Answers   Wipro,


What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }

1 Answers  


What is the difference between pure virtual function and virtual function?

0 Answers  






Between macros and functions,which is better to use and why?

0 Answers  


Explain the process of converting a Tree into a Binary Tree.

0 Answers   Ignou,


int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }

1 Answers  


What is the use of #define preprocessor in c?

0 Answers  


I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.

1 Answers  


what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }

9 Answers   HCL,


what is difference between declaring the pointer as int and char in c language?

3 Answers  


Categories