問答題

【簡答題】寫出下列程序的輸出結(jié)果#includevoidmain(){inta[]={2,4,6,8,10};intx,y=0,*p;p=a;for(x=0;x<5;x++)y+=*p++;printf("%d",y);}

答案: 30
微信掃碼免費搜題