C++ Polymorphism Questions and Answers
6. |
The mechanism of giving special meaning to an operator is called as .......... |
|
- A. data overloading
- B. operator overloading
- C. function overloading
- D. variable overloading
|
7. |
The return type of overloaded functions ........... |
|
- A. must be same
- B. must be different
- C. may or may not be same
- D. none of the given
|
8. |
........ promotions are purely compiler oriented. |
|
- A. Constant
- B. Floating point
- C. Character
- D. Integral
|
9. |
The ability of a fucntion to process the message or data in more than one form is called |
|
- A. Function type
- B. Inline fucntions
- C. Recursive function
- D. Function overloading
|
10. |
The operator function must be ........ |
|
- A. a member function
- B. a friend function
- C. either member or friend function
- D. none of these
|