How can a '::' operator be used as unary operator?
Answer / subham chaudhary
The scope operator can be used to refer to members of the global namespace. Because the global namespace doesn’t have a name, the notation :: member-name refers to a member of the global namespace. This can be useful for referring to members of global namespace whose names have been hidden by names declared in nested local scope. Unless we specify to the compiler in which namespace to search for a declaration, the compiler simple searches the current scope, and any scopes in which the current scope is nested, to find the declaration for the name.
| Is This Answer Correct ? | 0 Yes | 0 No |
show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.
Is c++ proprietary?
What is one dimensional array in c++?
What is an arraylist c++?
What are virtual constructors/destructors?
what is data abstraction in C++?
What is the Diffrence between a "assignment operator" and a "copy constructor"?
Can circle be called an ellipse?
What is the purpose of the noexcept keyword?
Explain the uses of static class data?
What is a singleton c++?
difference between the c++ and c languages