How many dimensions does an array have?

For example, you can access the first element of the second row of the two-dimensional array by specifying indexes (1, 0). One Dimension. Many arrays have only one dimension, such as the number of people of each age. The only requirement to specify an element is the age for which that element holds the count.
For More Information Please Refer:
You May Also Like to Read: