What is the term used to indicate the location of an element in an array?
2025
What is the term used to indicate the location of an element in an array?
Answer: B. Index — The position of an element in an array is referred to as its index. In most programming languages, the index of an array starts from 0.
- A.
Row
- B.
Index
- C.
Pointer
- D.
Column
Attempted by 1687 students.
Show answer & explanation
Correct answer: B
The position of an element in an array is referred to as its index. In most programming languages, the index of an array starts from 0.
Loading lesson…