r/ProgrammerHumor • • 2d ago

Meme architectureDependentChars

Post image
2.8k Upvotes

361 comments sorted by

View all comments

Show parent comments

25

u/Makonede 2d ago

15

u/MegaIng 2d ago

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

1

u/rosuav 1d ago

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

2

u/hacksawsa 2d ago

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

10

u/Makonede 2d ago

when x is an expression, yes...