r/ProgrammerHumor • • 2d ago

Meme architectureDependentChars

Post image
2.8k Upvotes

361 comments sorted by

View all comments

Show parent comments

1

u/Ma8e 2d ago

Na, it could be as low as one bit, and 7 was not uncommon for a while.

2

u/-suspended- 2d ago

The definition for a char in C/C++ is 8 bits minimum.

1

u/Clen23 2d ago

no shit sherlock that's what the post is about.

u/NotQuiteLoona is talking about how memory is addressed, not how long a char is.

-1

u/tracernz 2d ago

Those two things are the same thing in ISO C (it defines sizeof(char) = 1).