I once heard that the computer sometimes misses with == operator, so we need to use >= operator like the code below.
int a = 0;
while (true)
{
a++;
if (a == 10) break;
}
I wonder if this situation really could happens and why.
is it really possible?
I search on google, but i couldn’t find about this situation
New contributor
ccm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2