fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void x(int argc, char & * argv[])
  5. {
  6.  
  7. }
  8.  
  9. int main(int argc, char* argv[]) {
  10. // your code goes here
  11. x(argc, argv);
  12. std::cout<<argv[0];
  13. return 0;
  14. }
  15.  
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:32: error: cannot declare pointer to ‘char&’
 void x(int argc, char & * argv[])
                                ^
stdout
Standard output is empty