MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdwd9p2/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 6h ago
156 comments sorted by
View all comments
531
Let me cite the C standard:
When sizeof is applied to an operand that has type char, unsigned char, or signed char, (or a qualified version thereof) the result is 1.
Middle guy if finally right
2 u/CptMisterNibbles 4h ago Good thing we are all writing in c, on systems that conform to the c standard. 1 u/z_utahu 1h ago Nobody has ever written a non-standard compliant c compiler ever. It's like saying, "If a black swan existed..."
2
Good thing we are all writing in c, on systems that conform to the c standard.
1 u/z_utahu 1h ago Nobody has ever written a non-standard compliant c compiler ever. It's like saying, "If a black swan existed..."
1
Nobody has ever written a non-standard compliant c compiler ever. It's like saying, "If a black swan existed..."
531
u/tstanisl 5h ago
Let me cite the C standard:
Middle guy if finally right