Setting a Nth bit means that if Nth bit is 0 then set it to 1 and if it is 1 then leave it.
I/P:- 5
0
O/P:- 7
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Setting a Nth bit means that if Nth bit is 0 then set it to 1 and if it is 1 then leave it.
I/P:- 5
0
O/P:- 7