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 diff between localstatic and globalstatis variable possible 2 use in another file...?

2 Answers   HCL,


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,


How can I determine whether a machines byte order is big-endian or little-endian?

0 Answers  


what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }

1 Answers   Google,


Explain what is a pragma?

0 Answers  






write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

1 Answers   TCS,


Can main () be called recursively?

0 Answers  


What are the different types of endless loops?

0 Answers  


Can you please explain the difference between syntax vs logical error?

0 Answers  


int main() { int x = (2,3,4); int y = 9,10,11; printf("%d %d",x,y); } what would be the output?

7 Answers   Parimal, Wipro,


. A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report which employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.

1 Answers  


How can you invoke another program from within a C program?

0 Answers  


Categories