+ 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! :)
1 Answer
#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! :)