I am right shifting an unsigned int by 32 but it doesn't affect the number at all, why is it happening?
int main()
{
unsigned int rnd=2347483648;
cout<<rnd;
rnd=rnd>>32;
cout<<endl<<rnd;
}
When the code runs, it displays rnd twice,showing no affect at all. I believe that after right shifting a 32 bit int, shouldn't it display zero?