What new()is different from malloc()?


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

Post New Answer

More C++ General Interview Questions

what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.

9 Answers  


Write the program form Armstrong no in c++?

11 Answers   HCL,


How do you invoke a base member function from a derived class in which you’ve overridden that function?

0 Answers  


Explain public, protected, private in c++?

0 Answers  


Write a function which takes a character array as input and reverses it in place.

2 Answers   Lehman Brothers, Vision Infotech,






Explain class invariant.

0 Answers  


Declare a class vehicle and make it an abstract data type.

0 Answers  


What is the difference between global variables and static varables?

0 Answers  


What are the uses of typedef in a program?

0 Answers  


Describe private, protected and public – the differences and give examples.

0 Answers  


What does count ++ do in c++?

0 Answers  


what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of variables in any code block d. separation of compilation and linking

2 Answers   Hughes,


Categories