Multiple Choice
Why should you generally pass an object of the class to a friend function as a reference parameter?
A) If the friend function changes the values of the data members) .
B) If the friend function will not change the values of the data members) .
C) It is more efficient to pass the object by reference.
D) A and B
E) A and C
Correct Answer:

Verified
Correct Answer:
Verified
Q46: Both the copy constructor and the assignment
Q47: Functions that are constant member functions may
Q48: Which of the following are not correct?<br>A)
Q49: What is wrong with the following overloaded
Q50: Operators can be overloaded as<br>A) friends of
Q51: To overload functions with symbolic names like
Q52: Given the following class, what is syntactically
Q53: Given the following class and array declaration,
Q54: Putting the keyword const in front of
Q55: When a dynamic array with a class