0

Scope resolution operator in c++ is denoted by double colon (::). It can be used:

– when there is a local variable with same name as of global variable

– When a function has to be defined outside a class

– When class’s static variables needs to be accessed

– When a class inside another class has to be referred

– In case of multiple Inheritance

Vishalini.R Answered question June 28, 2023