Difference between Operator overloading and Functional
overloading?
Answer Posted / r
Function overloading is when a class inherits from another class and codes a functionality for a function defined in the base class.
Operator overloading is when the default behaviour of operators (+, =, ==, etc.) is modified by user defined actions.
Thanks.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Why do we use structure in c++?
What is the full name of logo?
How to declare a pointer to an array of integers?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What is friend class in c++ with example?
What is a friend function in c++?
Why is polymorphism useful?
What is #include iostream in c++?
describe private access specifiers?
Explain the difference between using macro and inline functions?
What is a base class?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
What is class and structure in c++?
What are the main features of c++?
Write about all the implicit member functions of a class?