Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mnaydin
on Feb 20, 2023
|
parent
|
context
|
favorite
| on:
Lesser known tricks, quirks and features of C
This is equivalent to
while (1) { calc(x++); }
which is an infinite loop, since the expression
x <= max
is always
true
NoZebra120vClip
on Feb 20, 2023
[–]
Heh! Good catch! That is what I get for not testing. After UINT_MAX, x wraps around to 0.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: