What are the differences between new and malloc in C?


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

Post New Answer

More C Interview Questions

Write a program to find factorial of a number using recursive function.

0 Answers   Global Logic, TCS,


write a code for large nos multilication (upto 200 digits)

2 Answers   Persistent,


What is the heap?

0 Answers  


Where static variables are stored in memory in c?

0 Answers  


How can I open a file so that other programs can update it at the same time?

0 Answers  






Program to find larger of the two numbers without using if-else,while,for,switch

11 Answers   iNautix, Wipro,


What are local and global variables?

3 Answers  


write a program in c to read array check element is present or not?

1 Answers  


we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????

4 Answers   Google,


What is the best style for code layout in c?

0 Answers  


c program to subtract between two numbers without using '-' sign and subtract function.

1 Answers  


the question is that what you have been doing all these periods (one year gap)

0 Answers   HCL,


Categories