Single Choice
Moderate
QA single dimensional array contains N elements. What will be the last subscript?
ID: #23969
ICSE Computer Application - Class X - 2022 PYQ
74 views
Question Info
#23969Q ID
ModerateDifficulty
ICSE Computer Application - Class X - 2022 PYQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
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.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic