+ 1
Why 5==5.0 , where 5 is integer and 5.0 is floating point???
3 Réponses
+ 5
In all languages 5==5.0 will be true .
But if u will write like this
float a=0.1;
if(a==0.1)
printf(" true");
else
printf (" false");
If you will run this code it will print false not true .
+ 1
I know mathematically it's true...but based on C language I'm asking
0
♨️TEJAS MK-82♨️ what's the reason for this , could u explain??