fork download
  1. void g(char (*) [10])
  2. {
  3. }
  4. void g(char [5] [10])
  5. {
  6. }
  7.  
  8. int main()
  9. {
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘void g(char (*)[10])’:
prog.cpp:4: error: redefinition of ‘void g(char (*)[10])’
prog.cpp:1: error: ‘void g(char (*)[10])’ previously defined here
stdout
Standard output is empty