You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespaces consists of a set of identifiers which are local to that particular name space.Also namespaces are like the lastname of a 2 persons having different names.
Like we can differentiate 2persons with smae first names using their last names(Which are different) in the same way to avoid name collisions in c++, we use
namespaces.
To access members of a namespace outside it, we have to use scope resolution operator.
'using' keyword actually loads the particular namespace into the golbal namespace or global scope.
Each program has a un-named or anynymous namespace.