Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What are the advantages of using a pointer?
Write a Program to find the largest of 4 no using macros.
What are c++ tokens?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What is decltype c++?
What are iterators in c++?
Is swift faster than go?
Is vector a class in c++?
What is the difference between strcpy() and strncpy()?
What are the unique features of C++.
What is lvalue?
What is std :: flush?
What is c++ runtime?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?