char and unsigned char

Started by
4 comments, last by Sneftel 15 years, 5 months ago
Are char and unsigned char affected by endianness?
Here to learn :)
Advertisement
Nope since they are only 1 byte long.
--- krez ([email="krez_AT_optonline_DOT_net"]krez_AT_optonline_DOT_net[/email])
I suspected that to be the case, thanks.
Here to learn :)
What language? C or C++? (If so, try telling us what 1 byte means.)
C++

1 Byte is 8 bits each bit is either 1 or 0?
Here to learn :)
Quote:Original post by MrPickle
1 Byte is 8 bits?

Not guaranteed to be exactly eight bits, but it will be on any non-embedded platform.

This topic is closed to new replies.

Advertisement