?
Why does a float variable stop incrementing at number '16777216' in the following C# code?
Why does a float variable stop incrementing at number '16777216' in the following C# code?
float a = 0 ;
while (true)
{
a++;
if (a > 16777216)
break;
}
float a = 0 ;
while (true)
{
a++;
if (a > 16777216)
break;
}
Join the Discussion
Login to post a comment or share your explanation.
Login