单项选择题

以下程序的输出结果是( )。
int f(int A)
return a%2;
main()
int s[8]=1,3,5,2,4,6,i,d=0;
f.r(i=0;f(s[8]);i++)d+=s[i];
printf("%d\n",d);

A.9
B.11
C.19
D.21