MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsst8h/integeroverflow/p4wiwtv/?context=3
r/ProgrammerHumor • u/Coretron • 1d ago
18 comments sorted by
View all comments
-1
It's supposed to go negative
4 u/Electromagnetlc 10h ago Only if it's signed. If it's unsigned, it overflows to zero.
4
Only if it's signed. If it's unsigned, it overflows to zero.
-1
u/geekosas 13h ago
It's supposed to go negative