Multiple Choice
Which of the following are valid declarations for an assignment operator for a class named myClass?
A) void friend operator = myClass& left, const myClass& source) ;
B) void operator = myClass& left, const myClass& source) ;
C) void friend operator = const myClass& source) ;
D) void operator = const myClass& source) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q24: A friend function needs to be passed
Q25: Who can access private data in a
Q26: How many parameters are there in a
Q27: Which of the following would be an
Q28: If obj1 and obj2 are both objects
Q30: The destructor for a class is called<br>A)
Q31: Friend functions are members of the class.
Q32: The following is a properly declared overloaded
Q33: Operators must be friends of the class.
Q34: Friend functions may directly modify or access