How is new() different from malloc()?


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

Post New Answer

More C++ General Interview Questions

Can a function take variable length arguments, if yes, how?

0 Answers  


Where can I run c++ program?

0 Answers  


How many characters are recognized by ANSI C++?

0 Answers   Hexaware, NIIT,


Which c++ compiler is best?

0 Answers  


What are vectors used for in c++?

0 Answers  






what is the use of void main() in C++ language?

0 Answers  


Compare compile time polymorphism and Runtime polymorphism

1 Answers  


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


What is a catch statement?

0 Answers  


Why ctype h is used in c++?

0 Answers  


What is the benefit of c++?

0 Answers  


How do you declare a set in c++?

0 Answers  


Categories