While writing some C++ code, I made a typo, which produced a bizarre but in interesting result in program. However, I completely do not understand what it is doing. Can anyone make sense of this?
I wrote it as a typo, but it is having an effect I can't otherwise duplicate. Can anyone understand this?Code:int a; // This can be any number from 0..255 int b; // This can be any number from 0..255 if(abs(a-b<2)) return true; return false;