Contact: aviboots(AT)netvision.net.il
40,904 questions
53,356 answers
573 users
#include <iostream> using namespace std; int main() { int x = 3, y = -9; bool b = ((x ^ y) < 0); cout << b << endl; x = 5, y = 6; b = ((x ^ y) < 0); cout << b << endl; } /* run: 1 0 */