What are the benefits of operator overloading?
No Answer is Posted For this Question
Be the First to Post Answer
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What are the various situations where a copy constructor is invoked?
What does flush do?
Difference between Overloading and Overriding?
35 Answers Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,
What is oops in c++?
What are the advantages of using a pointer?
What is a local variable?
What is Object Oriented programming.what is the difference between C++ and C?
What are special characters c++?
Why would you use pointers in c++?
Are c and c++ different?
Can we use this pointer in a class specific, operator-overloading function for new operator?