adplus-dvertising
frame-decoration

Question

What is the output of this program?
#include <stdio.h>
void main() {
    float a = 0.7;
    if ( a < 0.7 )
        printf( "Yes" );
    else
        printf( "No" );
}

a.

Yes

b.

No

c.

Compilation Error

d.

None of these

Answer: (a).Yes

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?