fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6.  
  7. {
  8.  
  9. int a =1, *p = &a;
  10.  
  11. cout << ((p == NULL) ? 1.1 : 2.2);
  12.  
  13. return 0;
  14.  
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:9:18: error: non-ASCII characters are not allowed outside of literals and identifiers
         int a = ‑1, *p = &a;
                 ^
1 error generated.
stdout
Standard output is empty