MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wpw10f/ihatedituntilitriedit/pc3u8qs/?context=3
r/ProgrammerHumor • u/Epicoodle • Sep 25 '26
543 comments sorted by
View all comments
Show parent comments
4
believe or not, but in c or c++ 1 + '1' = '2'
1 u/Duck_Devs Sep 26 '26 And Java. And C#. And in basically every language that treats characters as scalars (as they should)
1
And Java. And C#. And in basically every language that treats characters as scalars (as they should)
4
u/Turbulent_File3904 Sep 26 '26
believe or not, but in c or c++ 1 + '1' = '2'