Skip to content
Question Bank (2 marks) · Q36

Q.What are the rules used while writing subscripts?

Karnataka PUCTextbookShort· 2mImportance★★★★★est
99% · 152/154 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

Subscripts are integers in [ ], starting at 0 and staying within the array size.

A subscript (index) selects a particular element of an array. The rules for writing subscripts are:

  1. The subscript is written inside square brackets, e.g. a[3].
  2. It must be an integer value or an integer-valued expression (never a float).
  3. It must not be negative.
  4. Subscripting begins at 0, so the first element is a[0].
  5. For an array declared with size n, valid subscripts are 0 to n-1; a subscript outside this range is invalid.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.