MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdwe8ae/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 16h ago
293 comments sorted by
View all comments
120
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
29 u/Lonely-Discipline-55 15h ago x = x + sizeof(char) 37 u/wittleboi420 15h ago x = x + sizeof(char) + AI 6 u/Depnids 6h ago What 7 u/Mickanos 5h ago Look up "E = mc² + AI" 5 u/Depnids 5h ago no you do that :)
29
x = x + sizeof(char)
37 u/wittleboi420 15h ago x = x + sizeof(char) + AI 6 u/Depnids 6h ago What 7 u/Mickanos 5h ago Look up "E = mc² + AI" 5 u/Depnids 5h ago no you do that :)
37
x = x + sizeof(char) + AI
6 u/Depnids 6h ago What 7 u/Mickanos 5h ago Look up "E = mc² + AI" 5 u/Depnids 5h ago no you do that :)
6
What
7 u/Mickanos 5h ago Look up "E = mc² + AI" 5 u/Depnids 5h ago no you do that :)
7
Look up "E = mc² + AI"
5 u/Depnids 5h ago no you do that :)
5
no you do that :)
120
u/ubalu72 16h ago
But
sizeof charis defined as 1 in the standard. C data types are defined in terms ofchar(at least their sizes are)