मराठी

A Single Dimensional array contains N elements. What will be the last subscript? - Computer Applications

Advertisements
Advertisements

प्रश्न

A Single Dimensional array contains N elements. What will be the last subscript? 

पर्याय

  • N−1

  • N

  • N+1

  • None

MCQ

उत्तर

N−1

Explanation:

The array subscripts range from 0 to (n-1), where n represents the number of elements in the array.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: Arrays (Single Dimensional and Double Dimensional) - EXERCISES [पृष्ठ २३८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 3 Arrays (Single Dimensional and Double Dimensional)
EXERCISES | Q I. 10. | पृष्ठ २३८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×