int banana = -1;
printf(“div: %d ; shift: %d\n”, banana/2, banana>>1);
Gives:
div: 0 ; shift: -1
Weird, huh?
Tags: Geeky by Infidel No Comments »