Q. Why does a float variable stop incrementing at number ‘16777216’ in the following C# code?
Code:float a = 0 ;
while (true)
{
a++;
if (a > 16777216)
break;
}
✅ Correct Answer: (B)
Mantissa is different for ‘16777216’ and ‘16777217’