Register now or log in to join your professional community.
When you use subtraction, there is a possibility that you might overrun the limit of the integers and it might return a bad result. Because integer ranges from -32767 to +32768... so when you overstep this range through subtraction, it may produce undesired results.