When an application contains an array and you want to use every element of the array in some task, it is common to perform loops that vary the loop control variable from 0 to one less than the size of the array.
A) True
B) False
Option A(True) is the correct answer for the above question.
Explanation:
An array is used for the collection variables which is of the same type and uses memory in continuous Passion for the storage.
When any user wants to use the array then he needs to declare the size and type of the array because array holds the same type of data.
For example, int a[5] is an array of integer variable whose name is 'a' and the size is 5 in c language.
Anyone can use the array with the help of the index value of the array. The starting index value is 0 and the ending index value is (size-1) for any array.
The user can use it by the help of loop, in which the loop variable refers to the index of the array and it starts from 0 and ends in the (size of the array-1).
It is because the loop executes the same line multiple times.
The above statement also wants to state, which is defined as above. Hence the above statement is true which is referred by option A. Hence option A is the correct answer.