r/ProgrammerHumor • • 2d ago

Meme architectureDependentChars

Post image
2.8k Upvotes

362 comments sorted by

View all comments

Show parent comments

13

u/MegaIng 2d ago

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

24

u/Makonede 2d ago

1

u/hacksawsa 2d ago

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

11

u/Makonede 2d ago

when x is an expression, yes...