fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout << (6 & 10) << " " << ((6 & 10) ^ (6 | 10));
  6. return 0;
  7. }
Success #stdin #stdout 0.01s 5488KB
stdin
Standard input is empty
stdout
2 12