fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. std::cout << "1) " << (40 && 23 || 23) << std::endl;
  5. std::cout << "2) " << (12 & 25-3 ) << std::endl;
  6. return 0;
  7. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
1) 1
2) 4