Question PRG-C-0029
EasyWhat is the output of this program?
#include <stdio.h>
int main() {
int i = 0;
while (i < 5)
i += 2;
printf("%d", i);
return 0;
}
- A.
8
- B.
4
- C.
Sign up free to see the answer and a step-by-step explanation.