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
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?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Can abstract class have normal methods?
Why is polymorphism used?
What are constructors in oop?
What are classes oop?
What is the difference between a mixin and inheritance?
What is destructor in oop?
Why multiple inheritance is not possible?
How do you define social class?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is abstraction oop?
What do you mean by Encapsulation?
What is and I oop mean?