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

write a c program to change only the 3rd bit of the particular number such that other bits are not affected.. if bitnum=10(say.. it can be any no..

10 Answers   Bosch, Mind Tree,


main() { clrscr(); } clrscr();

6 Answers   ME, Wipro,


Is it acceptable to declare/define a variable in a c header?

0 Answers  


What's the difference between calloc() and malloc()?

4 Answers  


What is a wrapper function in c?

0 Answers  






Explain how are portions of a program disabled in demo versions?

0 Answers  


What's the difference between constant char *p and char * constant p?

0 Answers   Celstream,


How to swap 3 numbers without using 4th variable?

5 Answers  


write a program whose output will be- 1 12 123 1234

10 Answers  


If I want to initialize the array like. int a[5] = {0}; then it gives me all element 0. but if i give int a[5] = {5}; then 5 0 0 0 0 is ans. what will I do for all element 5 5 5 5 5 in a single statement???

3 Answers   Amdocs, IBM,


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

0 Answers  


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...

0 Answers  


Categories