0
#include<stdio.h>
#include<conio.h>
void main()
{
float x=0.7;
clrscr();
if(x<0.7)
{
printf("c");
}
else
{
printf("c++");
}
getch(); 
}

output: C

if 0.7 is replaced with some more values like 1.7,0.8 in both places output is C++. Why is this happening!

0 Answers0