Toggle bit at position
Filed under Ciena
The question
Write a function to toggle a bit at a given position in an integer.
No write-up yet. Related questions below have one.
Related Ciena questions
Collected from public candidate posts and coding forums. Updated Nov 2026.