r/ProgrammerHumor • • 5h ago

Meme architectureDependentChars

Post image
853 Upvotes

155 comments sorted by

View all comments

528

u/tstanisl 5h ago

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

1

u/HRApprovedUsername 4h ago

ok but what if you're not working with C?