0
What is the output of the following C program?
#include <stdio.h>
int main() {
int i = 0, s = 0;
do {
s += i;
i += 3;
} while (i < 10 && s < 15);
printf("%d %d", i, s);
return 0;
}- A12 18
- B9 9
- C12 9
- D9 18
Correct answer: A