What would be the output of the follwing program? sum = 0; for(i=1;i<10;i++) if(i%2==0) sum +=i; printf(“%d”, sum);
Reveal answer
Fill a bubble to check yourself
What would be the output of the follwing program? sum = 0; for(i=1;i<10;i++) if(i%2==0) sum +=i; printf(“%d”, sum);