R
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;
}
while (true)
{
a++;
if (a > 16777216)
break;
}
- Correct Answer - Option(B)
- Views: 163
- Filed under category C#
Discusssion
Login to discuss.