Give differences between - new and malloc() , delete and free() ?


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

Post New Answer

More C Interview Questions

What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }

4 Answers   Infosys, TCS,


why division operator not work in case of float constant?

2 Answers  


can a union be self-referenced?

1 Answers  


What is alloca() and why is its use discouraged?

1 Answers  


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

0 Answers   Lovely Professional University,






hat is a pointer?

4 Answers   Assurgent,


Can you please explain the difference between strcpy() and memcpy() function?

0 Answers  


Why is this loop always executing once?

0 Answers  


Write a program to swap two numbers without using a temporary variable?

0 Answers   Infosys,


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

0 Answers  


Explain how can I convert a number to a string?

0 Answers  


Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;

5 Answers   ITCO, Wipro,


Categories