Solved

Suppose the Variable MyName Is Declared in a Dim Statement

Question 39

Multiple Choice

Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?


A) The program will malfunction when it is executed.
B) When the value of myName is changed in one Sub procedure, it will also be changed in the other Sub procedure.
C) Visual Basic's smart editor will alert you that this is an error before the program is executed.
D) The two variables will be local to their respective Sub procedures.

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