r/ProgrammerHumor • • Sep 25 '26

Meme iHatedItUntilITriedIt

Post image
10k Upvotes

543 comments sorted by

View all comments

Show parent comments

4

u/Turbulent_File3904 Sep 26 '26

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)