Array elements are accessed by using an integer index . Array index starts with 0 and goes till size of array minus 1. Name of the array is also a pointer to the first element of array.
How do you access an array?
Array elements are accessed by using an integer index . Array index starts with 0 and goes till size of array minus 1. Name of the array is also a pointer to the first element of array.