Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

How many times i value is checked in the following C code?
#include < stdio.h >
int main()
{
int i = 0;
while (i < 3)
i++;
printf(“In while loop\n”);
}

How many times i value is checked in the following C code?
#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

Answer: c

Join The Discussion