fork download
  1. #include <iostream>
  2. int main()
  3. {
  4. int id = 99;
  5. int b = 0;
  6.  
  7. std::cout << "id: " << id << " b: " << b << " !b: " << !b << std::endl;
  8.  
  9. if ( id > !b )
  10. std::cout << "OK" << std::endl;
  11.  
  12. return 0x0;
  13. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
id: 99   b: 0   !b: 1
OK