Computer Science, asked by ashutoshswain459, 17 hours ago

If an array is declared as arr[]={1,5,89}; what is the value of arr[3]?

Answers

Answered by chawanprakash24
0

Answer:

[9]

Explanation:

In programming, the Index starts from 0, arr[3], so in your array the values are

1, 5, 8, 9

0 1  2  3

So i stats count from 0,

0: 1

1: 5

2: 8

3: 9

So as you can see when I start counting and stops on 3 so it will be 9 because there is no more values.

Thanks

Similar questions