ICSE Class 10 Computer Applications Question 7 of 10

Solved 2022 Semester 2 Question Paper ICSE Class 10 Computer Applications — Question 7

Back to all questions
7
Question

Question 1(vii)

A single dimensional array contains N elements. What will be the last subscript?

  1. N
  2. N - 1
  3. N - 2
  4. N + 1
Answer

N - 1

Reason — The index of an array begins from 0 and continues till Size - 1. Thus, if an array has N elements, the last subscript/index will be N - 1.