In C, why is 123 - 0123 != 0????

Status
Not open for further replies.
OP
aditya.shevade

aditya.shevade

Console Junkie
^^It results in 0 whenever the shift count is negative, or, while right shifting, if it is going negative. I still have not found the reason, I mean, during right shift, it can go below 0 as 0.5-0.25-0.125......

Aditya
 
Status
Not open for further replies.
Top Bottom