Solved

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

Question 37

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents