Q.

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.
Answer» D. the two variables will be local to their respective sub procedures.
4.1k
0
Do you find this helpful?
24

Discussion

No comments yet