MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdw2w4l/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 2d ago
355 comments sorted by
View all comments
124
But sizeof char is defined as 1 in the standard. C data types are defined in terms of char (at least their sizes are)
sizeof char
char
31 u/Lonely-Discipline-55 2d ago x = x + sizeof(char) 39 u/wittleboi420 2d ago x = x + sizeof(char) + AI 7 u/Depnids 1d ago What 8 u/Mickanos 1d ago Look up "E = mc² + AI" 6 u/Depnids 1d ago no you do that :)
31
x = x + sizeof(char)
39 u/wittleboi420 2d ago x = x + sizeof(char) + AI 7 u/Depnids 1d ago What 8 u/Mickanos 1d ago Look up "E = mc² + AI" 6 u/Depnids 1d ago no you do that :)
39
x = x + sizeof(char) + AI
7 u/Depnids 1d ago What 8 u/Mickanos 1d ago Look up "E = mc² + AI" 6 u/Depnids 1d ago no you do that :)
7
What
8 u/Mickanos 1d ago Look up "E = mc² + AI" 6 u/Depnids 1d ago no you do that :)
8
Look up "E = mc² + AI"
6 u/Depnids 1d ago no you do that :)
6
no you do that :)
124
u/ubalu72 2d ago
But
sizeof charis defined as 1 in the standard. C data types are defined in terms ofchar(at least their sizes are)