Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

3. The key word used for declaring variables in VB is
Options
A REM
B VARIABLE
C DIM
Correct Answer
D DECLARE
Correct Answer

Option C is the correct answer.

Detailed Explanation

DIM (short for Dimension) is the keyword used to declare variables in Visual Basic.

Hint

Think of 'Dim x As Integer'.

Question Info