Examveda
Examveda

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");
}

A. True (infinite time)

B. True (1 time) False

C. False

D. Compiler dependent

Answer: Option C


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures