Multiple choice technology programming languages

What is the output ?? main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }

  1. I hate U

  2. I love U

  3. non of the above

  4. error

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

1.1 stored in float (me) has less precision than 1.1 stored in double (you). Due to different rounding errors in their binary representations, me and you are not exactly equal, so the else branch executes.