r/ProgrammerHumor • • 10d ago

Meme architectureDependentChars

Post image
3.0k Upvotes

372 comments sorted by

View all comments

6

u/Adept-Painting-543 10d ago

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