Difference between new operator and operator new

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you overcome the diamond problem in inheritance?

946


What is property in oops?

773


What is an interface in oop?

768


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1602


What is the difference between inheritance and polymorphism?

783


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2354


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1950


any one please tell me the purpose of operator overloading

2153


What is the purpose of polymorphism?

860


Why do we need polymorphism in c#?

870


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3094


What is object in oops?

819


write a C++ program for booking using constructor and destructor.

2245


What is meant by multiple inheritance?

926


Can a destructor be called directly?

786