#include
int a[10] = {0};
int b = 5;
int *p = &a[0];
p = &b;
void main(void)
{
int i = 0;
for(i=0;i<10;i++)
{
a[i] = i;
}
for(i=0;i<10;i++)
{
printf("a[%d]=%d\n",i,a[i]);
}
a[1] = a[2];
printf("a[1]=%d\n",a[1]);
return;
}