what makes interchanging of bits
Answers
Answered by
0
Answer:
I can't understand question
Answered by
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
Math,
3 months ago
Computer Science,
3 months ago
Math,
3 months ago
Computer Science,
6 months ago
Social Sciences,
6 months ago
English,
11 months ago
Math,
11 months ago
History,
11 months ago