Code:main() { float flt 1.1; double dbl 1.1; if(flt == dbl) printf("hi"); else printf("hello"); }
In this program when we run it, it goes to the else part and prints hello....
but in this same case if the value is changed of both double and float variables it works properly printing hi.....
what is the reason for that?????