KnowledgeHub
Report question
Question:
Is there a better way of writing v = (v == 0 ? 1 : 0);
Reason
Select a reason...
Spam
Rude or offensive
Not an answer
Duplicate
Off-topic
Other
Additional details (optional)
Submit Report