Scope Resolution Operator

Опубликовано: 29 Сентябрь 2024
на канале: Nitin Jharbade
607
28

Scope Resolution Operator (::) in C++ programming language is used
1. to resolve the scope of private data members of a class in any member function while defining the member function out side the class to implement abstraction.
2. To access the global variable if local variables with same names also defined.

#ScopeResolution #Scope #Abstraction #Class #MemberFunction

Go through the lecture for more details.