Google News
logo
Electronics and Communication Engineering (ECE) : Microprocessors - Quiz(MCQ)
Which one is true for writing array variable in Pascal?
A)
The subscripts must be enclosed within parenthesis
B)
The subscripts in array variable must be separated by dots
C)
The general form of an array variable must be an integer name followed by subscripts enclosed within square brackets. The subscripts are separated by commas
D)
The general form of an array variable is an integer or a real variable name followed by subscripts enclosed within square brackets. The subscripts are separated by commas

Correct Answer : Option (D) :   The general form of an array variable is an integer or a real variable name followed by subscripts enclosed within square brackets. The subscripts are separated by commas

Advertisement