Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to overload new operator in c++

Answers were Sorted based on User's Feedback



How to overload new operator in c++..

Answer / r.ramakrishna

We want use the new operator in overloading by defining the
new()operator with the fallowing operation in the class.

Is This Answer Correct ?    3 Yes 2 No

How to overload new operator in c++..

Answer / 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

More OOPS Interview Questions

What is function overloading?,describe it with the example.

5 Answers  


what is the difference between ERROR and EXCEPTION?

14 Answers   NIIT, nvidia,


What are the 4 main oop principles?

0 Answers  


How is polymorphism achieved?

0 Answers  


how to get the oracle certification? send me the answer

0 Answers   Oracle,


Difference between realloc() and free?

9 Answers   HP,


Can you name some types of inheritance?

1 Answers   Motorola,


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

0 Answers   HCL,


What is virtual Function.

1 Answers   Wipro,


what about you? wahat is your object? introduce your self?

1 Answers   Ajmal Perfumes, TCS,


inheritence with example

1 Answers  


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

0 Answers   UBS,


Categories