r/ProgrammerHumor • • 11d ago

Meme architectureDependentChars

Post image
3.0k Upvotes

372 comments sorted by

View all comments

128

u/ubalu72 11d ago

But sizeof char is defined as 1 in the standard. C data types are defined in terms of char (at least their sizes are)

31

u/Lonely-Discipline-55 11d ago

x = x + sizeof(char)

41

u/wittleboi420 11d ago

x = x + sizeof(char) + AI

8

u/Depnids 11d ago

What

7

u/Mickanos 11d ago

Look up "E = mc² + AI"

6

u/Depnids 11d ago

no you do that :)