0
What is the output of the following C program?
#include <stdio.h>
int main() {
int i, s = 0;
for (i = 1; i <= 10; i++) {
if (i % 3 == 0) continue;
if (i > 8) break;
s += i;
}
printf("%d %d", s, i);
return 0;
}- A27 9
- B27 10
- C36 10
- D30 10
Correct answer: B