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...


Difference between new operator and operator new

Answers were Sorted based on User's Feedback



Difference between new operator and operator new..

Answer / skybeaver

The "new" operator allocates a new instance of an object
from the heap, utilising the most appropriate constructor
for the arguments passed.

Like many operators in C++, the "new" operator for a
particular class can be overriden, although there is rarely
a need to do so. "operator new" is the mechanism for
overriding the default heap allocation logic. Ask your
interviewer to provide you with a concrete example of when
he or she has been required to do this.

Is This Answer Correct ?    14 Yes 2 No

Difference between new operator and operator new..

Answer / nutan

pls refer
http://objectmix.com/c/34028-difference-between-new-operator-new.html

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More OOPS Interview Questions

write a program which best describes polymorphism in real world?

2 Answers   CTS, Infosys, NexGen,


1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?

6 Answers  


in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C

1 Answers   IonIdea,


why function overloading is not called as pure polymorphism?

2 Answers  


What are the different forms of polymorphism??

8 Answers   Mantaq, NUC, PCS,


What is a class and object?

0 Answers  


What is object in oop with example?

0 Answers  


Why do we need oop?

0 Answers  


What is encapsulation c#?

0 Answers  


What language is oop?

0 Answers  


What are the advantages of inheritance?

26 Answers   IBS, TCS,


WHEN A COPY CONSTER IS CALL ?

4 Answers  


Categories