Question: c++ multiple choice 4. In an overloaded insertion or extraction operator, which object should be the parameter, the stream or the object of the class?

c++ multiple choice c++ multiple choice 4. In an overloaded insertion or extraction operator, which

4. In an overloaded insertion or extraction operator, which object should be the parameter, the stream or the object of the class? It doesn't matter The object The stream None of these 5. Why should you generally passed an object of the class to a friend function as a reference parameter? If the friend function If the friend function changes the value of you will not change the data members the values of the data members If the friend function If the fan function changes the values of changes the values of the data members the data numbers and and if the phone it's more effective to function will not pass the object by change the values of reference the data members

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!