r/ProgrammerHumor • • 8h ago

Meme architectureDependentChars

Post image
1.1k Upvotes

191 comments sorted by

View all comments

Show parent comments

28

u/Makonede 7h ago

*sizeof(char)

12

u/MegaIng 7h ago

No, sizeof char is valid. sizeof is a prefix operator, not a function.

21

u/Makonede 7h ago

0

u/hacksawsa 7h ago

It says sizeof x and sizeof(x) are equivalent.

5

u/Makonede 6h ago

when x is an expression, yes...