MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pegzvlf/
r/ProgrammerHumor • u/MontyBoomslang • Oct 04 '26
372 comments sorted by
View all comments
Show parent comment
3
C does specify the size of a char. It's exactly CHAR_BITS bits large, which is a value the compiler will know / decide at compile time
0 u/Batman_AoD Oct 07 '26 That specifies how to discover or use the size, not what it is. Obviously by "specify the size" I meant specify the specific "standard" size of 8.
0
That specifies how to discover or use the size, not what it is. Obviously by "specify the size" I meant specify the specific "standard" size of 8.
View all comments
Show parent comment
3
u/KellerKindAs Oct 07 '26
C does specify the size of a char. It's exactly CHAR_BITS bits large, which is a value the compiler will know / decide at compile time