

McqMate
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. |
View all MCQs in
Dot Net Architecture and ProgramNo comments yet