

MCQOPTIONS
Saved Bookmarks
1. |
Which operator among the following must be overloaded using the friend function? |
A. | << operator only |
B. | >> operator only |
C. | Both << and >> operators |
D. | It’s not mandatory to use friend function in any case |
Answer» D. It’s not mandatory to use friend function in any case | |