[amp_mcq option1=”data type” option2=”order” option3=”subscript” option4=”symbol” correct=”option3″]
The correct answer is C. subscript.
A subscript is a number that indicates the position of an element in an array. For example, in the array [1, 2, 3], the element at position 0 is 1, the element at position 1 is 2, and the element at position 2 is 3.
The other options are incorrect.
- A data type is a classification of data that tells the computer how to interpret the data. For example, the data type of an integer is different from the data type of a string.
- Order is the sequence in which elements are stored in an array. For example, in the array
[1, 2, 3], the elements are stored in order from 0 to 2. - A symbol is a character that represents a value. For example, the symbol
+represents the addition operation.