3 ms·
1111 1111 = 255 1 0000 0000 = 256 Anyone who claims to understand integer overflow from actual experience, rather than memorizing textbooks, should know that
by ldite 9y ago
1111 1111 = 255
1 0000 0000 = 256
Anyone who claims to understand integer overflow from actual experience, rather than memorizing textbooks, should know that by inspection.
I'd forgive that in a CS grad (possibly) but if someone claimed to have been working in C or other unsafe languages for more than a trivial amount of time I'd be very suspicious.