fork(1) download
  1. int f(int x = 0);
  2. int f(int x);
  3. int f(int x = 0);
  4.  
  5. int main()
  6. {
  7. return 0;
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:16: error: default argument given for parameter 1 of 'int f(int)' [-fpermissive]
 int f(int x = 0);
                ^
prog.cpp:2:5: note: previous specification in 'int f(int)' here
 int f(int x);
     ^
stdout
Standard output is empty