C - Pointers and Arrays
Pointers and Arrays
In C, there is a strong relationship between pointers and arrays. Any operation that can be achieved by subscripting can also be done with pointers.
defines an array ar of size 10, i.e, a block of 10 consecutive integers named ar, ar, …. ar. The notation ar[i] refers to the i-th element of the array.