有以下程序
Main()
{ int a[]={1,2,3,4,5,6,7,8,9,0},*p;
For(p=a;p<a+10;p++) printf("%d,",*p);
}
程序运行后的输出结果是______。
A.1,2,3,4,5,6,7,8,9,0, B.2,3,4,5,6,7,8,9,10,1, C.0,1,2,3,4,5,6,7,8,9, D.1,1,1,1,1,1,1,1,1,1,正确答案A
有以下程序
Main()
{ int a[]={1,2,3,4,5,6,7,8,9,0},*p;
For(p=a;p<a+10;p++) printf("%d,",*p);
}
程序运行后的输出结果是______。
A.1,2,3,4,5,6,7,8,9,0, B.2,3,4,5,6,7,8,9,10,1, C.0,1,2,3,4,5,6,7,8,9, D.1,1,1,1,1,1,1,1,1,1,正确答案A