Question d’entretien chez NVIDIA

How to toggle a specific bit in a 32 bit integer (bit level logic)?

Réponse à la question d'entretien

Utilisateur anonyme

26 août 2017

We need to xor that bit with 1 to toggle it.

1