Multiple choice technology programming languages

The member functions of a class can be defined outside the Class using

  1. Extraction Operator

  2. Insertion Operator

  3. Scope resolution operator

  4. None of the Above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The scope resolution operator (::) is used in C++ to define a member function outside of its class declaration. Insertion (<<) and extraction (>>) operators are used for stream I/O, not for specifying class scope.