A. |
ostream & « (ostream & out, const Number &num)
|
B. |
friend ostream & operator« (ostream & out, const Number &num);
|
C. |
Number & operator« (ostream & out, const Number & num);
|
D. |
friend ostream operator« (const. Number &num)
|
Option: B Explanation : Click on Discuss to view users comments. |
If an = operator is used with classes, then
A. | must have overloaded |
B. | may have overloaded |
C. | must not have overloaded |
D. | equal cannot be used with classes. |
Option: B Explanation : Click on Discuss to view users comments. |
A. | [num]44 |
B. | num[44] |
C. | num = [44] |
D. | num 44 |
Option: C Explanation : Click on Discuss to view users comments. |
Which of the following statements is true?
A. | Subscript operator may take only one argument. |
B. |
Parentheses operator may take only one argument
|
C. | Subscript operator may take |
D. | None of these |
Option: B Explanation : Click on Discuss to view users comments. |