121k views
0 votes
Which of the following is false? (Points : 4)

All elements of the array have the same data type.
All elements in an array have the same name.
All elements in an array have the same subscript.
The first element of the array has a subscript of zero.

1 Answer

1 vote

Answer:

All elements in an array have the same subscript.

Step-by-step explanation:

The statement written above is false because every element in an array has different subscript or index.The index starts with 0 and ends at size -1 .You can access the array element if you write the subscript in the square brackets after the name of the array.

a[5];

You can access 6th element in the array by this statement.

User McLaren
by
6.5k points