Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can a '::' operator be used as unary operator?

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


Please Help Members By Posting Answers For Below Questions

How do I run a program in notepad ++?

1112


What does it mean to declare a destructor as static?

1086


In a function declaration what does extern means?

1054


What is the difference between while and do while loop?

1162


Is c or c++ more useful?

1054


Can c++ do everything c can?

1088


C is to C++ as 1 is to a) What the heck b) 2 c) 10

1057


Describe private, protected and public?

1081


Can non graphic characters be used and processed in C++?

1197


What methods can be overridden in java?

1272


What is switch case in c++ syntax?

1116


How would you find out if a linked-list is a cycle or not?

1009


What's the order in which the objects in an array are destructed?

1417


Which compiler does turbo c++ use?

1082


Can I learn c++ as my first language?

1113