navenmou
Full Member level 4
- Joined
- Sep 25, 2010
- Messages
- 228
- Helped
- 49
- Reputation
- 98
- Reaction score
- 46
- Trophy points
- 1,318
- Location
- Bangalore, India
- Activity points
- 2,588
#include<stdio.h>
main()
{
printf("%X",-1>>1);
}
i am getting the output is FFFFFFFF in linux..but actual output is 7FFFFFFF...
Please give me explanation why the output is FFFFFFFF
main()
{
printf("%X",-1>>1);
}
i am getting the output is FFFFFFFF in linux..but actual output is 7FFFFFFF...
Please give me explanation why the output is FFFFFFFF