ProAnswers.org

How to toggle bit in unsigned int?

3 Likes

unsigned int value ^= (1 << bitNo);