1. Home
  2. Computer Science MCQs
  3. C++ and Object-Oriented Programming
  4. The :: operator in C++ is called the:

Added 30 Nov -0001

The :: operator in C++ is called the:

  1. scope resolution operator Correct answer
  2. member access operator
  3. conditional operator
  4. insertion operator

Correct answer

A. scope resolution operator

13 views

MCQSEXAM

Explanation

:: qualifies a name with the class or namespace it belongs to.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More C++ and Object-Oriented Programming MCQs

Practise all C++ and Object-Oriented Programming MCQs

Similar MCQs