单项选择题

有以下程序main(){ int p[7]= {11,13,14,15,16,17,18},i=0,k=0; while(i<7 & & p[i] %2) { k= k+ p[i];i+ +;} cout<<k<<end1;}执行后输出结果是

A.58
B.56
C.45
D.24