How to shift value of B01000110 to right or left

Hi I got a byte something like this: byte a[2]={B01000110, B011100110}' I want to be able to shift each bit in the B01000110 how can I go through each bit, read them? How to shift value of B01000110 to right or left?

For an arithmetic shift, you use the “>>” or “<<” bitwise operators. << shifts left by one bit and >> shifts right by one bit (both operations zero-pad).

See link