单项选择题

下列程序的输出结果是( )。

main()

intp[8]=11,12,13,14,15,16,17,18,i=0,j=0;

while(i++<7)

if(p[i]%2)j+=p[i];

printf("%dXn",j);

A.42
B.45
C.56
D.60