Q:

Which operator among the following must be overloaded using the friend function?

0

Which operator among the following must be overloaded using the friend function?


  1. << operator only
  2. >> operator only
  3. Both << and >> operators
  4. It’s not mandatory to use friend function in any case

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(c).Both << and >> operators

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How much memory will be allocated for an object of... >>
<< All the operators can be overloaded using the memb...