+ 2

What would be the output of the following code?

#include<stdio.h> int main() { float x= 10.2; double y=10.2; if(x==y) printf("yes"); else printf("no"); return 0; } Output: 1. yes 2. no 3. error please ignore any human errors! :)

26th Feb 2018, 6:05 PM
Abbas Ali
Abbas Ali - avatar
1 Answer