Solved

What Happens If a Module Uses a Local Variable with the Same

Question 13

Multiple Choice

What happens if a module uses a local variable with the same name as a main module variable, which is assumed to be global?


A) In this case, the variable declared globally is used.
B) It would cause a syntax error.
C) It would cause a logic error.
D) In this case, the variable declared locally is used.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions