What is Subscript?

Questions by pbchaudhari   answers by pbchaudhari

Showing Answers 1 - 3 of 3 Answers

baseersd

  • Sep 18th, 2007
 

I guess the subscript here in the sense of arrays:

Subscript is the offset of the array.

Say, int array[5];

To access the second element, we use array[1], where 1 is the subscript.
Which mean to point to the location after 1  such element. So it will pass array[0] and it will point the array[1].

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions