fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. using namespace std;
  7.  
  8. cout << (false and false) << ", "
  9. << (false and true) << ", "
  10. << (true and false) << ", "
  11. << (true and true) << endl;
  12. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0, 0, 0, 1