126. Program to prove that in an array the elements are at adjacent location

 #include<stdio.h>

int a[10],i;

void main()

{

        for(i=0;i<10;i++)

                printf(" %d address %u\n",i+1,&a[i]);

}

Comments