2. An operator used for manipulation of data at bit level It is
used for testing bits, shifting them right or left It works on
integer and character data type It is not applied to float or
doublewww.eshikshak.co.in
3. Operator Meaning~ Ones compliment>> Shift right> It
shifts each bit in operand to the right Example ch >> 1 This
will shift all bits in ch one place to the rightch >> 5This
will shift all bits in ch five places to the
rightwww.eshikshak.co.in
7. main(){int j,k,i;i=12;for(j=0;j> j;printf(%d right shift
%d gives,i,j);showbits(k);}}Output12 right shift 0 gives 110012
right shift 1 gives 011012 right shift 2 gives 001112 right shift 3
gives 0001www.eshikshak.co.in