fork download
  1. #include <iostream>
  2.  
  3. #define s 3
  4.  
  5. int main() {
  6. int s = 42;
  7. return 0;
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:3:11: error: expected unqualified-id before numeric constant
 #define s 3
           ^
prog.cpp:6:9: note: in expansion of macro ‘s’
     int s = 42;
         ^
stdout
Standard output is empty