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

why effort estimation is important?

1 Answers  


If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.

12 Answers   Google,


What is a const pointer?

0 Answers  


second highest number in a given set of numbers

3 Answers   TCS,


What is a structure member in c?

0 Answers  






Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986

1 Answers  


Under what circumstances does a name clash occur?

0 Answers   InterGraph,


Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A

1 Answers  


What is malloc calloc and realloc in c?

0 Answers  


difference between object file and executable file

0 Answers  


Can a local variable be volatile in c?

0 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?

10 Answers   Ramco,


Categories