fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. cout << "2 != true : " << (2 != true) << endl << "2 == false : " << (2 == false) << endl ;
  5. return 0;
  6. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
2 != true : 1
2 == false : 0