Google News
logo
CPP - Quiz(MCQ)
Which operator is used to signify the namespace?
A)
scope operator
B)
bitwise operator
C)
conditional operator
D)
ternary operator

Correct Answer :   scope operator


Explanation :

Scope operator(::) is used in namespace syntax.
General syntax :
namespace X{ int a;}
cout<<X::a;

Advertisement