Answer the following statements true (T) or false (F)
1. When a class declares an entire class as its friend, the friendship status is reciprocal. That is, each class's member functions have free access to the other's private members.
2. When you overload an operator, you can change the operator's original meaning to something entirely different.
3. By default, when an object is assigned to another object, each member of one object is copied to its counterpart in the other object.
4. The overloaded = operator copies data from one object to another so it is known as the overload copy operator.
5. If you overload the prefix ++ operator, the postfix ++ operator is automatically overloaded.
1. F
2. T
3. T
4. F
5. F
You might also like to view...
What is the keyboard shortcut for applying the last used filter?
What will be an ideal response?
Ann, a network technician, has been troubleshooting a connectivity problem in the LAN room. Ann has diagnosed the problem and implemented a solution. Which of the following would be the NEXT step?
A. Test the theory B. Establish a plan of action C. Establish a theory D. Document findings