fork download
  1. int fun(char (*ptr)[]) { return 0; }
  2.  
  3. int main () {
  4. int (*ptr)(char (*ch)[]);
  5. ptr=fun;
  6. return 0;
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:22: error: parameter ‘ptr’ includes pointer to array of unknown bound ‘char []’
prog.cpp: In function ‘int main()’:
prog.cpp:4:28: error: parameter ‘ch’ includes pointer to array of unknown bound ‘char []’
stdout
Standard output is empty