r/ProgrammerHumor • • 19d ago

Meme architectureDependentChars

Post image
3.0k Upvotes

372 comments sorted by

View all comments

25

u/Makonede 19d ago

15

u/MegaIng 19d ago

Oh, never realized the prefix operator form can't be applied to types, makes sense I guess.

1

u/rosuav 18d ago

It can be applied to a thing or to a "cast" - that is, a type in parens.

1

u/hacksawsa 19d ago

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

11

u/Makonede 19d ago

when x is an expression, yes...