The :: operator in C++ is called the:
-
A
scope resolution operator
Correct answer
-
B
member access operator
-
C
conditional operator
-
D
insertion operator
Correct answer
A. scope resolution operator
13 views
Explanation
:: qualifies a name with the class or namespace it belongs to.
Reference
Asked in: NTS, PPSC IT, Campus Interviews
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ