Q.

What happens to a variable declared locally inside a Sub procedure after the procedure terminates?

A. it maintains its value even after the end sub statement executes.
B. it ceases to exist after the end sub statement executes.
C. it loses its value temporarily after the end sub statement executes, but regains that value upon re-entry to the sub procedure.
D. it is reset to its default value.
Answer» B. it ceases to exist after the end sub statement executes.

Discussion

No comments yet