fork download
  1.  
  2.  
  3. void f(const char** ) {}
  4.  
  5.  
  6. int main(int , char** argv){
  7. f(argv);
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:7:8: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
  f(argv);
        ^
prog.cpp:3:6: note:   initializing argument 1 of ‘void f(const char**)’
 void f(const char** ) {}
      ^
stdout
Standard output is empty