单项选择题

有下列程序:

main()

inti;

for(i=1;i<=40;i++)

if(i+ +%5==0)

if(++i%8==0) printf("%d",i);



printf("\n");


执行后的输出结果是( )

A.5
B.24
C.32
D.40