C program to demonstrate example of array of pointers
In this program, we have to declare, assign and access array of pointers in C.
As we know that, pointers are the special type of variables that are used to store the address of another variable. And array is the group of similar type of variables (using single name for all variables), that takes contiguous memory locations.
"Array of pointes" is an array of the pointer variables. Here, in this C program we are declaring an array of integer pointer int *ptr[3]; it will store the address of integer variables.
C program for array of pointers
Output
need an explanation for this answer? contact us directly to get an explanation for this answer