Question 137

Which C++ operator is used to define a member function outside its class?

  1. A->
  2. B.
  3. C::
  4. D&
Show answerHide answer

Correct answer: (C) ::

Explanation

Example: void Student::show() { ... }

From DSSSB TGT Computer Science Full Mock Test 5

This is question 137 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.