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

> Actually, since C99, sizeof char is defined to be 1 (byte). The number of bits in a byte is implementation-defined.

Ever since, reading introductions to C that say things like "a char is usually one byte in size" make me cringe. I never bothered to check, though, what C89/C90 had to say on this.



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

Search: