Y
Hacker News
new
|
ask
|
show
|
jobs
by
koliber
39 days ago
If a behavior is undefined, the theoretical answer to this could be anything, including -123, 500, or 0. We are just lucky that the compilers choose a more sane version of undefined behavior in practice.