Answer: 5,20,1Code:int main() { int x=5; printf("%d,%d,%dn",x,x< <2,x>>2); }
For the above code i complied and the answer also given
MY Expected output was :5,5,1
But after compling the output was :5,20,1
I didn't understand the logic for that output obtained
Can anybody give the reason for that output
Thanking You,
V.Rupendra Naidu