answersLogoWhite

0


Best Answer

A hidden global variable must be one that has its scope blocked by a local variable of the same name. To access the hidden variable, use the scope resolution operator ::, such as is ::variable_name. If there is another reason for the hidden status, please clarify and restate the question.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which operator is allow to access hidden global variable in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which operator is used 2 access ahidden global variables?

To access a hidden global variable, use the scope resolution operator ::


Which operator is allow to access hidden global variable?

The scope resolution operator, ::, overrides local scope and allows access to objects that are hidden due to global to local scope rules.


Why global variables need to be kept to a minimum?

Polluting the global namespace with variables that have no reason to be global is never a good idea. Aside from anything else, the programmer has no control over what code may access a global, and global variable declarations may be spread over many files or hidden within headers, making it difficult to get an overview of every global. Globals are not necessarily a bad thing; if a concept is global in nature then of course make it global. But don't make variables global in the mistaken belief that it is somehow convenient. If a variable really needs to be shared amongst a specific set of functions then there are far better ways of doing so without making the variable global to all functions. Declaring the variable locally in a function (even the main function as a static variable) and passing it to the functions that operate upon it, or by encapsulating the variable in a class along with the functions that operate upon it are far better options than making a variable globally accessible. Keeping variables as close to the code that operates upon them makes your code easier to both read and maintain.


Where is the hidden secret code on the familitchi instrutions paper?

The hidden access code is right below the display of the tamagotchi The hidden access code is right below the display of the tamagotchi


For this statement which could be a hidden variable?

Type your answer hereWhich people were selected for the sample.. Age


Can additional methods of base class be hidden from the derived class in object oriented software?

Yes. During inheritance only the public members of the parent class are visible to the child class. If you declare a method or a variable as private, the child class cannot access it. In other words, the methods and variables are hidden from the derived class.


What is an example of a hidden variable?

Quantum Physics: Hidden Variables: Undiscovered particles, forces, energies, or other unforeseen or miscalculated influences concerning observation or experiment.


How can I see a hidden facebook profile?

There is no way to see a hidden Facebook profile. You will have to become friends with the person to gain access to the account.


How do you recognizing hidden information?

For recognizing hidden information ,I search in internet or ask from persons who have experiences a bout that.I can seek in different reffrences.by doing these works I can access to hidden information.


If Teens have a lower cancer rate than people over 60. In this statement age is a?

hidden variable - apex


What do you do in slate port city in Pokemon global revolution?

Nothing. You just explore it and find hidden items.


What are the two hidden scorestreaks on black ops 2?

There aren't hidden Score Streaks. If there are some that are not displaying on your screen then you need to level up to access these.