Question 18

In Visual Basic, variable declared inside a procedure are said to have ______ scope.

  1. AGLOBAL
  2. BLOCAL
  3. CMODULE-LEVEL
  4. DPROGRAM - LEVEL
Show answerHide answer

Correct answer: (B) LOCAL

Explanation

The book prints option (c) as LOCAL again; it has been replaced with MODULE-LEVEL so only one option is correct.

From DSSSB TGT Computer Science Practice Set 2

This is question 18 of DSSSB TGT Computer Science Practice Set 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.