+ 2
#include <stdio.h> int main() { printf("%x",-4>>1); return 0; }
Output is fffffffe https://code.sololearn.com/cave4NgSKbpw/?ref=app
4 Respuestas
+ 1
I understand it but not understand shift ing of negative number and just output in ffffffff0
+ 1
And fffffffe
0
look up bitwise operators
https://www.sololearn.com/learn/4070/?ref=app