what is new operator in c++



what is new operator in c++..

Answer / sherly

New operator is used to create objects.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More OOPS Interview Questions

namespace is working on which compiler?

3 Answers  


1. Define a class.

6 Answers  


who is the founder of c++?

15 Answers   Hexaware, ONGC,


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


What is constructor overloading in oop?

0 Answers  






what is mean by design pattern

4 Answers  


Write an operator overloading program to Overload ‘>’ operator so as to find greater among two instances of the class.

1 Answers  


What do you mean by overloading?

0 Answers  


What is use of overloading?

0 Answers  


What is Hashing and how is it done? Pictorial form?

2 Answers   emc2, Wipro,


Is enum a class?

0 Answers  


What is the purpose of enum?

0 Answers  


Categories