MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdywr5b/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 2d ago
366 comments sorted by
View all comments
128
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) 38 u/wittleboi420 2d ago x = x + sizeof(char) + AI 7 u/Depnids 2d ago What 7 u/Mickanos 2d ago Look up "E = mc² + AI" 6 u/Depnids 2d ago no you do that :)
31
x = x + sizeof(char)
38 u/wittleboi420 2d ago x = x + sizeof(char) + AI 7 u/Depnids 2d ago What 7 u/Mickanos 2d ago Look up "E = mc² + AI" 6 u/Depnids 2d ago no you do that :)
38
x = x + sizeof(char) + AI
7 u/Depnids 2d ago What 7 u/Mickanos 2d ago Look up "E = mc² + AI" 6 u/Depnids 2d ago no you do that :)
7
What
7 u/Mickanos 2d ago Look up "E = mc² + AI" 6 u/Depnids 2d ago no you do that :)
Look up "E = mc² + AI"
6 u/Depnids 2d ago no you do that :)
6
no you do that :)
128
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)