For positive integers x>>1 and x/2 would be same but for negative its not see the example
x=5 x>>1 is 2 x/2 is also 2
if x=-5 x/2 is -2 but x>>1 is -3
Answer will be same on positive numbers means(dividing the number by 2).But on negative number it will be not same.
struct marks { int a:1; int b:2; }; int main() { struct marks obj={1,6}; printf("%d %d\n",obj.b,obj.a); }
Result should be stored in new linked list.