Question #7
What is the output of the following C program?
1 int main().
2 {
3
int a, b=0;
static int c (10)={1,2,3,4,5,6,7,8,9,0):
for (a=0; a<10;++a)
if ((c[a]x2)==0) b+aclal:
5
6
7
printf ("%d", b);
return 0;
8
9)
Answers
Answered by
0
Answer:
Hahahahahahahahahahhahahahahaah
Answered by
0
for loop will read each value in array.
If value will is even it is added to b
b =2+4+6+8+0 =20
Ans :20
Similar questions