Computer Science, asked by syedaneebajk00786, 1 month ago

what is the difference between an array size deceleration and an array index​

Answers

Answered by ankitha7777
2

Answer:

If you're not constructing an array, then you are accessing an element in the array using its index. arr[ 2 ] = 10 ; 2 refers to an index. ... In the example, we access element 2 (recall that indexing begins at 0, and so even though it's index 2, it's the third element of the array)

\huge\pink{hope\:it\:helps\: you\:}

Similar questions