Which operator is used for accessing a member of namespace?

a) :
b) ::
c) ->
d) .

1 thought on “Which operator is used for accessing a member of namespace?”

  1. b
    Explanation: Scope resolution operator(::) is used for accessing a member of a namespace. example:
    namespace A{
    int var;
    }
    A::var = 5;

Leave a Comment