हिंदी

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×