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

> unsigned char can be as wide as an int

No, it is not true for almost all non-embedded systems. And char cannot be as wide as int, it is the opposite true, int can be as wide as char.



int is guaranteed to be at least as wide as char.


This exactly what I was saying, just made a wrong choice of words.


"Int can be as wide as char" is exactly the same as "char can be as wide as int".


I meant "int can be as narrow as char".




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

Search: