ansh11
Member level 4
given page https://www.geeksforgeeks.org/set-clear-and-toggle-a-given-bit-of-a-number-in-c/
where K is the bit that is to be set
set the 6th bit of N
What happens first OR th operation will perform or Bit will shift first
N = N | 1 << K
where K is the bit that is to be set
N = 1011 0101
set the 6th bit of N
N = 1011 0101 | 1 << 6
What happens first OR th operation will perform or Bit will shift first