Question: Question 10 9 pts If a class is declared a friend of another class, typically the classes refer to each other. The classes cannot each



Question 10 9 pts If a class is declared a friend of another class, typically the classes refer to each other. The classes cannot each be defined before the other. To refer to a class, the class must have been declared. This is accomplished by a Select all that apply Backward declaration Forward declaration Class definition O Placing a declaration of one class prior to the definition of the other. D None of the above. If the classes are not dehined in the order grantor of friendship then friend class, this relationship is impossible
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
