/* The right shift bitwise operator */
#include <stdio.h>
int
main (void)
{
unsigned a=64, b=25, c=1, d=100;
printf ("%4d >> 1 = %4d (%03x HEX)\n", a, a>>1, a>>1);
printf ("%4d >> 1 = %4d (%03x HEX)\n", b, b>>1, b>>1);
printf ("%4d >> 1 = %4d (%03x HEX)\n", c, c>>1, c>>1);
printf ("%4d >> 1 = %4d (%03x HEX)\n", d, d>>1, d>>1);
printf ("%4d >> 2 = %4d (%03x HEX)\n", a, a>>2, a>>2);
printf ("%4d >> 3 = %4d (%03x HEX)\n", b, b>>3, b>>3);
printf ("%4d >> 4 = %4d (%03x HEX)\n", d, d>>4, d>>4);
printf ("%4d >> 5 = %4d (%03x HEX)\n", d, d>>5, d>>5);
return(0);
}