
12 Jan
2006
12 Jan
'06
3:35 p.m.
Chris Cleeland wrote:
Good question; I know that sizeof(char) == sizeof(unsigned char) == 1, but I don't know that it's guarantee anywhere that something that has a sizeof==1 is exactly 8 bits.
No, that's not guaranteed. There are implementations with char types consisting of more than 8 bit (not necessarily old architectures). HTH, m Send instant messages to your online friends http://au.messenger.yahoo.com