Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int x = 0;
    if (x == 1)
        if (x >= 0)
            printf("true\n");
        else
            printf("false\n");
}

A. true

B. false

C. Depends on the compiler

D. No print statement

Answer: Option D


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures