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

why reinterpret cast is considered dangerous?

0 Answers   TCS,


What is difference between function overloading and overriding?

1 Answers   emc2,


How do you achieve runtime polymorphism?

0 Answers  


Describe the difference between a Thread and a Process?

11 Answers   Siebel Systems,


What is class in oop with example?

0 Answers  


What is object-oriented programming? Webopedia definition

0 Answers  


What is oops?what is its use in software engineering?

0 Answers  


Why do we use oops?

0 Answers  


Is data hiding and abstraction same?

0 Answers  


Please send ford technologies placement paper 2 my mail id

0 Answers  


What are the different forms of polymorphism??

8 Answers   Mantaq, NUC, PCS,


the difference between new and malloc

5 Answers   Siemens,


Categories