👤

Answer :

The thing that would  happen if a program tried to access a variable that was defined locally in another part of the program is that said project would fail or will not succeed.

What are variables and how are they important for a program?

Variables are known to be tools that are used to save information that will be referenced as well as be altered in a computer program.

Note that they also give a method that one can make use of in labeling data with a form of descriptive name, so our programs can be known well and more clearly by the reader.

Therefore, The thing that would  happen if a program tried to access a variable that was defined locally in another part of the program is that said project would fail or will not succeed

Learn more about computer variable from

https://brainly.com/question/27975087

#SPJ1

Go Teaching: Other Questions