Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
turminal
on Jan 20, 2024
|
parent
|
context
|
favorite
| on:
So you think you know C? (2016)
> The first 4 are implementation defined rather than undefined.
Third and fourth are only defined in some implementations.
ryao
on Jan 21, 2024
[–]
That is fair for 4, although would explain why it is the case for 3?
turminal
on Jan 21, 2024
|
parent
[–]
If char is signed and ' ' * 13 is bigger than CHAR_MAX, you get UB by signed overflow.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Third and fourth are only defined in some implementations.