Define member function outside the class - Using scope resolution
Q. By using what from the following can we define member function outside the class?- Published on 16 Jun 15a. Using structures
b. Using pointers
c. Using union
d. Using scope resolution
ANSWER: Using scope resolution
Scope resolution operator is used to define a function outside the class or when we want to use a global variable but also has a local variable with the same name.