What will be the output of the following C code?
#include <stdio.h>
int main()
{
int i = 0;
while (i = 0)
printf("True\n");
printf("False\n");
}
#include <stdio.h>
int main()
{
int i = 0;
while (i = 0)
printf("True\n");
printf("False\n");
}
A. True (infinite time)
B. True (1 time) False
C. False
D. Compiler dependent
Answer: Option C
Join The Discussion