What is the difference between operator new and the new
operator?




Answers were Sorted based on User's Feedback



What is the difference between operator new and the new operator?..

Answer / vrushali

Operator new is a function name used for operator overloading and new operator is used for allocating memory

Is This Answer Correct ?    7 Yes 0 No

What is the difference between operator new and the new operator?..

Answer / guest

operator new is just like malloc and
new is the conventinal new in C++

Is This Answer Correct ?    3 Yes 4 No

What is the difference between operator new and the new operator?..

Answer / man

operator new is nothing
And new operator is used to allocate memory on the heap

Is This Answer Correct ?    0 Yes 5 No



Post New Answer



More C++ General Interview Questions

what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??

4 Answers  


how many rounds and wt type of questios ask in the written test for first round 2. tech. round 3. and futher rounds

0 Answers   Thought Works,


How to write a program such that it will delete itself after exectution?

3 Answers  


let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.

1 Answers  


What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?

24 Answers   TCS, Infosys, Microsoft,






Can you explain the term "resource acquisition is initialization?"

1 Answers  


What are different types of polymorphism supported by C++

2 Answers   GameLoft, CA,


What are the techniques you use for debugging?

1 Answers   Adtran,


How the compilers arranges the various sections in the executable image?

1 Answers  


what is oops

2 Answers  


wap to accept 10 numbers & display the number of odd and even numbers??

1 Answers  


class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.

5 Answers   Quark,






Categories