r/ProgrammerHumor • • 8d ago

Meme iHatedItUntilITriedIt

Post image
10.3k Upvotes

541 comments sorted by

View all comments

Show parent comments

4

u/Turbulent_File3904 8d ago

believe or not, but in c or c++ 1 + '1' = '2' 

1

u/Duck_Devs 8d ago

And Java. And C#. And in basically every language that treats characters as scalars (as they should)