float a = 0 ; while (true) { a++; if (a > 16777216) break; }
a) Sign and Exponent for ‘16777217’ is same as for ‘16777216’
b) Mantissa is different for ‘16777216’ and ‘16777217’
c) Sign and Exponent for ‘16777217’ is different from ‘16777216’
d) None of the mentioned
Why does a float variable stop incrementing at number ‘16777216’ in the following C# code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Why does a float variable stop incrementing at number ‘16777216’ in the following C# code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!