Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
void main()
{
    float x = 0.1;
    if (x == 0.1)
        printf("India");
    else
        printf("Advanced C Classes");
}

A. Advanced C Classes

B. India

C. Run time error

D. Compile time error

Answer: Option A


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals