Guys what is the purpose of scope resolution operator in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Guys what is the purpose of scope resolution operator in c++?

11th Jul 2017, 2:18 AM
MANOJ KUMAR
MANOJ KUMAR - avatar
2 Answers
+ 8
The scope resolution operator :: is used to identify and disambiguate identifiers used in different scopes. https://msdn.microsoft.com/en-us/library/b451xz31.aspx
11th Jul 2017, 4:12 AM
Hatsy Rei
Hatsy Rei - avatar
0
To access global value
25th Jul 2017, 4:53 PM
Raj
Raj - avatar