Hacker News new | past | comments | ask | show | jobs | submit login

> it is not possible to understand the C language by just writing simple test programs to examine the behavior.

This is so well put, thank you.

> Integer types are unsigned by default, except for char.

unsigned by default? I'm pretty sure `int`, `long`, `short` and `long long` are signed by default.




and whether plain char is signed or unsigned is unspecified.


Actually it can be signed, unsigned or have a completely separate type which is neither signed char nor unsigned char.


Well, I meant that char can either be a signed or unsigned integer type. It is always a distinct type form either signed char or unsigned char.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: