bit shifting, becomes zero when it shouldn't.... bug?
#1

Код:
printf("%d", 95<<24 + 102<<16 + 109<<8 + 100);
prints zero for some reason when it isn't zero

Why?
Reply


Messages In This Thread
bit shifting, becomes zero when it shouldn't.... bug? - by Yashas - 13.10.2016, 12:35
Re: bit shifting, becomes zero when it shouldn't.... bug? - by Konstantinos - 13.10.2016, 12:44
Re: bit shifting, becomes zero when it shouldn't.... bug? - by Dayrion - 13.10.2016, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)