Skip to content

Exchange Bits #1

@huseyn

Description

@huseyn

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions