单项选择题

有以下程序;
main()
int i,S=0;
for(i=1;i<10;i+=2)s+=i+1;
printf("%d\n",s);
程序执行后的输出结果是( )。

A.自然数1~9的累加和
B.自然数1~10的累加和
C.自然数1~9中奇数之和
D.自然数1~10中偶数之和