5 Answers
New Answercoip To set a bit, use bitwise OR operator. <mask> | = <bit> To clear a bit, use bitwise XOR operator. <mask> ^= <bit> To check a bit, use bitwise AND operator. <mask> & <bit> https://code.sololearn.com/cP1BMeK7G3LR/?ref=app
I have already known about bitwise. What I am asking is about bitmask Abol Ipang but thanks.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message