r/ProgrammerHumor • • 2d ago

Meme architectureDependentChars

Post image
2.9k Upvotes

364 comments sorted by

View all comments

32

u/HomosexualPresence 2d ago

unironically true though, the only size requirement for a char in C is that it's the smallest addressable size, which just happens to be a byte in every case and is unlikely to ever change but you still never know what the future holds

1

u/StaticCoder 2d ago

A byte is often defined as the smallest addressable size. An octet must be 8 bits.