执行以下程序后,y的值是( )main(){int a[]={2,4,6,8,10};int y=1,x,*p;p=&a[1];for(x=0;x<3;x++)y+=*(p+x);printf("%d\n",y);}
A.17
B.18
C.19
D.20
出自:国家开放大学程序设计基础