+ 2

//Find output of following program and explain why

#include<stdio.h> #include<conio.h> void main( ) { float x=1.1; double y=1.1; if(x==y) printf("Hi"); else printf("Bye"); getch( ); }

26th Feb 2018, 6:03 PM
Nawab Arzoo
Nawab Arzoo - avatar
2 Answers
0
undefined behaviour !
26th Feb 2018, 10:28 PM
---
--- - avatar