Which operator is used to access file level variable in c/c++

Bala
Asked Jul 12, 2013
In C++, scope resolution operator is ::.
robertmanus
Answered Feb 13, 2020
Scope resolution operator in C++ can be used for: Accessing a global variable when there is a local variable with same name. Defining a function outside a class.
Zinavo
Answered Apr 10, 2020

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories