Explain the Difference between the New and Malloc keyword.


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

Post New Answer

More C Interview Questions

Differentiate between declaring a variable and defining a variable?

0 Answers  


what is c programing

11 Answers   Wipro,


Is c easy to learn?

0 Answers  


Write a c program to demonstrate character and string constants?

0 Answers  


What is a stream water?

0 Answers  






Explain how do you determine whether to use a stream function or a low-level function?

0 Answers  


we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?

4 Answers   HP, Wipro,


consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value

4 Answers   TCS,


What is the difference between pure virtual function and virtual function?

0 Answers  


int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

6 Answers   HCL, Octal, SW,


6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?

3 Answers  


What are header files in c?

0 Answers  


Categories