Answer Posted / rekha
Operator overloading means giving additional meaning to
existing operators
Operators are defined to perform some operation on
fundamental types .Operator cannot work with user defined
types like classes and struct.so concept of operator
overloading means allows defining the meaning of operator so
that the can be used for performing operations on user defined
types.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
officer say me - i am offered to a smoking , then what can you say
What does no cap mean?
how to get the oracle certification? send me the answer
What are the 3 pillars of oop?
What is inheritance in simple words?
What are the components of marker interface?
Is react oop?
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
How Do you Code Composition and Aggregation in C++ ?
What is polymorphism and types?
How can you overcome the diamond problem in inheritance?
What is object-oriented programming? Webopedia definition
What is the difference between a constructor and a destructor?
What are oops methods?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?