MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is the correct order involves in the process of operator overloading.i) Define the operator function to implement the required operations.ii) Create a class that defines the data type that is to be used in the overloading operation.iii) Declare the operator function op() in the public part of the class. |
| A. | 1-i, 2-ii, 3-iii |
| B. | 1-ii, 2-iii, 3-i |
| C. | 1-ii, 2-i, 2-iii |
| D. | 1-iii, 2-ii, 3-i |
| Answer» C. 1-ii, 2-i, 2-iii | |