MHLoppy to Programmer Humor@programming.dev • 2 months agoisInHell = 'true'fedia.ioimagemessage-square75fedilinkarrow-up1680file-text
arrow-up1680imageisInHell = 'true'fedia.ioMHLoppy to Programmer Humor@programming.dev • 2 months agomessage-square75fedilinkfile-text
minus-squareLovable SidekicklinkfedilinkEnglish1•2 months agoLOL but it was ’ x + 1’ not ‘x += 1’ tho.
minus-square@Flipper@feddit.orglinkfedilink4•2 months agoWe don’t know what value X has. If it isn’t initialised it could have any value including the maximum. Then it would overflow. But let’s be honest, that is unlikely.
Fun and games till x overflows.
LOL but it was ’ x + 1’ not ‘x += 1’ tho.
We don’t know what value X has. If it isn’t initialised it could have any value including the maximum. Then it would overflow.
But let’s be honest, that is unlikely.