answersLogoWhite

0


Best Answer

No, as the very meaning of scope is "a part of the program"

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is it possible to have a variable which has a scope not resticted to a particular part of the Program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write the difference between global variable and static variable in context to function with suitable example?

Static VariableA variable that exists in only one location and is globally accessible by all instances of a class and also a variable for which memory remains allocated as long as the program executes.Global VariableA variable that can be accessed by all parts of a program so it does not belong to any subroutine in particular and can therefore can be accessed from any context in a program


What happens in programming any time a local variable in a method has the same identifier as a class field?

the program will work fine the value will be considered as the value of local variable in the particular method.


What is volatile thread?

Threads are not volatile. The volatile is a keyword that is used while having multiple threads in a Java Program. This keyword is used when multiple threads access a particular variable but still it is not mandatory to synchronize or prevent access to that variable.


Will particular C program be compatible for both g c c and DEV Cpp compiler?

That is possible. Try it.


If the variable flag can only be declared once in the program it was declared as what type of variable?

It's a global variable.


What is A part of a program in witch a variable may be accessed?

The part of a program in which a particular variable may be accessed is called the 'scope' of the variable. In most cases, the scope of a variable is limited to the function within which it was created, or any function it is passed to as an argument. You can also use global variables, which can be accessed from any part of the program and have 'global scope'. However, this is generally considered as poor programming practice, and should be used cautiously and sparingly as it tends to make code difficult to read and maintain.


What is a variable used in computer gaming?

it depends, if its a desired variable, its a program, but if its undesired, its a glitch


How do you program a hayward variable speed pool pump?

how to program a pool vacuum


A variable that is used in all program modules is?

global


When auto variable create?

Program enter function.


What is the variable in c language program?

A variable is the name for a place in the computer's memory where you store some data.


Which specifier indicates that a variable's reserved space in the memory can be erased or relocated when the variable is out of its scope?

There is no such thing. When the program leaves the scope of the variable, it will be release the memory of the variable automatically and unconditonally.