Why are the extraction and insertion operators always implemented as friends of the class rather than as members of the class?

a. Because the first parameter must be the stream object.
b. They don't, they could be members
c. Because they return a reference
d. Because the stream is passed by reference.

a. Because the first parameter must be the stream object.

Computer Science & Information Technology

You might also like to view...

How does security thinking differ from network thinking?

Computer Science & Information Technology

Users on multiple network segments report that they are unable to retrieve email from a server. Which of the following commands will allow a server technician to ensure that the email service is running on the server?

A. ifconfig B. ipconfig C. nbtstat D. netstat

Computer Science & Information Technology