How many times i value is checked in following C code?

How many times i value is checked in the following C code?

How many times i value is checked in the following C code? mcq and its answer is provided on this page.

How many times i value is checked in the following C code?

Que. How many times i value is checked in the following C code?
a. #include <stdio.h> int main() { int i = 0; do { i++; printf("in while loop\n"); } while (i < 3); }
b. a) 2
c. b) 3
d. c) 4
e. d) 1
Answer: b
Explanation : None.


Comments