Chapter 16 Flashcards
1
Q
What is function overloading and operator overloading
A
C++ allows you to specify more than one definition for a function name or an operator in the same scope, which is called function overloading and operator overloading respectively.
2
Q
What is ?:
A
?: is the only ternary operator in C++ and can’t be overloaded.
3
Q
Can operator precedence effected due to overloading
A
No
4
Q
Can overloading effect Associativity
A
No
5
Q
Unary operators and assignment operator are right associative. True or False
A
True