Computer Science, asked by binodsinha6176, 6 months ago

what makes interchanging of bits​

Answers

Answered by bv001243945
0

Answer:

I can't understand question

Answered by aarti225566
3

1. Get all even bits of x by doing bitwise and of x with 0xAAAAAAAA. ...

2. Get all odd bits of x by doing bitwise and of x with 0x55555555. ...

3. Right shift all even bits.

4. Left shift all odd bits.

5. Combine new even and odd bits and return.

Hope You help this Solution.

Similar questions