The Following Programme Is giving The Output as -56.I have manually Traced it -14 binary equivalent is 00001110 and its 2's compliment is 11110001 on left shifting by 2 bits I get as 11000100 .How can I interpret this as -56. Thank You.
#include<stdio.h>
main()
{
int i=-14;
i<<=2;
printf("%d",i);
}