Computer Science, asked by vibhavpotential4496, 1 year ago

What is the output of the following program?

#include int 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.20
B.24
C.25
D.30

Answers

Answered by rockyak4745
0
Hii dear here is your answer



option a is the correct answer


Hope its help u
Answered by MoonGurl01
14
Hey mate,☺☺☺

Here is your answer...✨✨✨

➡➡➡➡➡➡➡➡➡➡➡➡➡

Option 【A】is the correct answer

✔✔✔✔✔✔✔✔✔✔✔✔✔

Hope this will help you...✨✨✨

Keep Asking..✌✌✌

❤❤❤ If helps you, Mark my answer as Brainliest....❤❤❤
Similar questions