Sunday, 31 March 2013

What happens to a variable declared locally inside a Sub procedure after the procedure terminates? | Visual Basic MCQS


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.

Ans: B

No comments: