Flipping bits

  • + 0 comments

    C makes this trivial using the XOR operator: return(UINT32_MAX^n);