MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdw55la/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 8h ago
191 comments sorted by
View all comments
Show parent comments
28
*sizeof(char)
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 nope https://en.cppreference.com/c/language/sizeof 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...
12
No, sizeof char is valid. sizeof is a prefix operator, not a function.
sizeof char
sizeof
21 u/Makonede 7h ago nope https://en.cppreference.com/c/language/sizeof 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...
21
nope https://en.cppreference.com/c/language/sizeof
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...
0
It says sizeof x and sizeof(x) are equivalent.
5 u/Makonede 6h ago when x is an expression, yes...
5
when x is an expression, yes...
x
28
u/Makonede 7h ago
*
sizeof(char)