这个程序有什么问题啊?

void main()
{
int a[]={4,5,4,7};
int *p;
int index;
for(index=0,index<4,index++,p=a;p++;)
printf("%d %d\n",a[index],*p);
}
#include<stdio.h> void main() { int a[]={4,5,4,7}; int *p; int index; for(index = 0, p = a; index < 4; index++, p++) //for(index=0,index<4,index++,p=a;p++;) 这句令人蛋疼 printf("%d %d\n",a[index],*p); }
#include <stdio.h> int main (void) { int a[]={4,5,4,7},*p=a,index; for(index=0;p<a+4;p++,index++) { printf("%i %i\n",a[index],*p); } return 0; }