v) What will be the index number of
nth location of an Array ?
a) n
b) n-1
c) n+1
d) 2n
Answers
Answered by
3
n-1 index number
n location
Answered by
0
Option(b) i.e " n-1" is the index value of the nth location of an Array
Explanation:
- As Array is the collection of similar datatype we can declared the array by the following syntax
datatype Arrayname[size]={ .......values};
For example
int arrr4[90]={34,67,89};
- Their is always array index start with the 0 value .So according to this example
arrr4[0] will holds 34. and so on.
- Therefore the array index of nth index is "n-1".
Learn More:
https://brainly.in/question/5387851
Similar questions