adplus-dvertising
frame-decoration

Question

What will be printed if we execute following program ?
#include<stdio.h>
int main()
{
    float a = 0.3;
    if(0.3 > a)
        printf("True\n");
    else
        printf("False\n");
    return 0;
}

a.

False

b.

True

c.

True False

d.

None of these

Answer: (a).False

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be printed if we execute following program ?