[wpdm_package id=’1292′] Algorithm Input number and bit to unset i.e. number=12 bit=3 Left shift 1 by (bit-1) times and take exclusive not of it i.e.…
[wpdm_package id=’1290′] Algorithm Input number and bit to set i.e Let number is 12 and bit is 2 Left shift 1 by (bit-1) times i.e.…
[wpdm_package id=’1282′] Algorithm Input number and bit to check. Let input number is 12 and bit to check is 3 Right shift number by K-1…