1.

Which operator is used to signify the namespace?(a) conditional operator(b) ternary operator(c) scope operator(d) bitwise operatorThe question was asked in a national level competition.The question is from Namespaces in chapter Functions, Namespaces & Exceptions in C++ of C++

Answer»

Right option is (C) scope operator

To explain I WOULD SAY: Scope operator(::) is used in namespace SYNTAX.

General syntax:

namespace X{ inta;}

COUT<



Discussion

No Comment Found

Related InterviewSolutions