C Programming language

adplus-dvertising
Some point of Pointer and Array
Previous Home Next
adplus-dvertising

Here we are not discussing about only pointer. we are also discussing here about array. we telling u what is the relationship between Pointer and Array. We know that what is pointer pointer is an address variable that hold the address of another variable or another type we can say that a pointer is a tool used for keeping track of a certain spot in memory and the simply array is the groups of data stored sequentially in memory.

In array we can keep track the first item with a pointer to that item and use that as an index point for every other item in the array.an array is declared by using it's type, here We declare the type of the array and the size of array. And the size of the array specified inside brackets [].

Suppose we have to declare char array. so we declare this type

char array[25];
Previous Home Next