asked 67.9k views
5 votes
When a member function is defined outside of the class declaration, the function name must be qualified with theWhen a member function is defined outside of the class declaration, the function name must be qualified with the____________.

asked
User Adinanp
by
8.8k points

1 Answer

4 votes

Answer:

class name, followed by the scope resolution operator

Step-by-step explanation:

The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace.

Therefore, when a member function is defined outside of the class declaration, the function name must be qualified with the class name, followed by the scope resolution operator

answered
User Bheshaj
by
8.0k points