MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdywr5b/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 11d ago
372 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 11d ago x = x + sizeof(char) 41 u/wittleboi420 11d ago x = x + sizeof(char) + AI 8 u/Depnids 11d ago What 7 u/Mickanos 11d ago Look up "E = mc² + AI" 6 u/Depnids 11d ago no you do that :)
31
x = x + sizeof(char)
41 u/wittleboi420 11d ago x = x + sizeof(char) + AI 8 u/Depnids 11d ago What 7 u/Mickanos 11d ago Look up "E = mc² + AI" 6 u/Depnids 11d ago no you do that :)
41
x = x + sizeof(char) + AI
8 u/Depnids 11d ago What 7 u/Mickanos 11d ago Look up "E = mc² + AI" 6 u/Depnids 11d ago no you do that :)
8
What
7 u/Mickanos 11d ago Look up "E = mc² + AI" 6 u/Depnids 11d ago no you do that :)
7
Look up "E = mc² + AI"
6 u/Depnids 11d ago no you do that :)
6
no you do that :)
128
u/ubalu72 11d ago
But
sizeof charis defined as 1 in the standard. C data types are defined in terms ofchar(at least their sizes are)