Contact: aviboots(AT)netvision.net.il
39,939 questions
51,876 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 */