int exp1 = ((1<<31)>>31)<<32 // output changes everytime
int exp2 = ((1<<31)>>31)<<31<<1 // 0
why is this happening?
it may be caused by overflow thing, but cannot understand properly.
I am trying to solve this problem for hours, need some help
(p.s integer for 32bits)