1.

What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10};main(){int a, b=0;for(a=0;a<10;++a)if(c[a]%2 == 1)b+=c[a];printf("%d", b);}

A. 0
B. 4
C. 5
D. 0
E. one of these
Answer» D. 0


Discussion

No Comment Found