Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The first 4 are implementation defined rather than undefined.

Third and fourth are only defined in some implementations.



That is fair for 4, although would explain why it is the case for 3?


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: