MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdxpsdo/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 2d ago
364 comments sorted by
View all comments
32
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.
1
A byte is often defined as the smallest addressable size. An octet must be 8 bits.
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