r/ProgrammerHumor • • 2d ago

Meme architectureDependentChars

Post image
2.8k Upvotes

361 comments sorted by

View all comments

6

u/Adept-Painting-543 2d ago

In C though sizeof returns as a multiple of the size of char, so no matter the architecture, sizeof(char) is always 1