通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序
#include <stdio.h> main() { int i,s=0,t[]={1,2,3,4,5,6,7,8,9}; for(i=0;i<9;i+=2)s+=*(t+i); printf("%d\n",s); }
程序执行后的输出结果是( )。