XOR Operator Detect If Two Integers Have Opposite Signs In this question, input two numbers and detect if they have opposite signs. We solve using bitwise XOR operator Previous Next