What is the output of the following statement?#include main() {printf('%d', -1<1 ); }
MURALI R
1
1 will be the output.
False will be the Output!
ans: -2A negative number stored in two’s compliment of positive number. After shifting we get 1110, which is equivalent to -2.