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.
(D) The two variables will be local to their respective Sub procedures.
You might also like to view...
After a program starts and is running in RAM, the program is represented by a button on the ________
A) title bar B) taskbar C) status bar D) ribbon
What process ensures that project objectives are successfully achieved and properly recorded?
A. Project planning B. Project assessment and control C. Decision management D. Risk management