Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mnaydin
· 3y ago · 0 comments
This is equivalent to
while (1) { calc(x++); }
which is an infinite loop, since the expression
x <= max
is always
true
Comments
[–]
NoZebra120vClip
3y ago
Heh! Good catch! That is what I get for not testing. After UINT_MAX, x wraps around to 0.