#include<stdio.h>
int main()
{
float f = 0.1;
if (f == 0.1)
printf("True");
else
printf("False");
return 0;
}
The above code is given in my class test. I was expecting true as the output but False was the output. WHy?