Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
#include <stdio.h> int main() { int i = 0; while (i < 3) i++; printf("In while loop\n"); }
a) 2
b) 3
c) 4
d) 1