Write a program that exchanges bits {p, p+1, …, p+k-1} with bits {q, q+1, …, q+k-1} of a given 32-bit unsigned integer. chapter - operators_and_expressions function - exchange_bits(n)
Write a program that exchanges bits {p, p+1, …, p+k-1} with bits {q,
q+1, …, q+k-1} of a given 32-bit unsigned integer.
chapter - operators_and_expressions
function - exchange_bits(n)