M
manu
Hi All,
I have executed the below program and got 0x1f as output...
Can anyone explain me why this output is coming instead of zero?
Compiler - gcc
int main()
{
unsigned long x = 65;
unsigned long y = 0x3F;
y = y >> x;
printf("%x\n",y);
return 1;
}
I have executed the below program and got 0x1f as output...
Can anyone explain me why this output is coming instead of zero?
Compiler - gcc
int main()
{
unsigned long x = 65;
unsigned long y = 0x3F;
y = y >> x;
printf("%x\n",y);
return 1;
}