If the line: friend class A: appears in class B, and the line: friend class B: appears in class C. then: A) Class A is a friend of class c. B) Class A can access private variable Class B. C) Class C can call class A’s private member functions. D) Class B can access class A’s private variables. The correct function name for overloading the addition (+) operator is: A) operator + B) operator (+) C) operator: + D) operator _+ Suppose you have a programmer-defined data type Data and want to overload the
Expert Answer
Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: If the line: friend class A: appears in class B, and the line: friend class B: appears in class C. then: A) Class A is a friend of class c. B) Cla…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE