How to overload new operator in c++

Answer Posted / guest

class[] ob=new class[5];
ob[1]= new class();
ob[2]= new class();
ob[3]= new class();
ob[4]= new class();
ob[5]= new class();

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does enum stand for?

607


What is interface? When and where is it used?

1664


What causes polymorphism?

569


How to hide the base class functionality in Inheritance?

636


How do you define a class in oop?

626






write a program to find 2 power of a 5digit number with out using big int and exponent ?

1892


What is the real life example of polymorphism?

605


Is html an oop?

577


What is polymorphism what are the different types of polymorphism?

561


What is encapsulation and abstraction? How are they implemented in C++?

633


What is the point of polymorphism?

584


What is polymorphism what is it for and how is it used?

572


What does and I oop mean in text?

620


What is abstraction oop?

622


Is react oop?

607