MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / setKthBit

Function setKthBit

bit_manipulation/set_kth_bit.cpp:43–53  ·  view source on GitHub ↗

* @brief The main function implements set kth bit * @param N is the number whose kth bit will be set * @returns returns an integer after setting the K'th bit in N */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected