Author
anonymous
over 8 years ago
Language
Compiler
Options
Author
anonymous
over 8 years ago
$ prog.c: In function 'main':
prog.c:23:13: warning: passing argument 1 of 'str_cpy' from incompatible pointer type [-Wincompatible-pointer-types]
str_cpy(pp, pp1); //warnings here
^~
prog.c:1:6: note: expected 'char (*)[]' but argument is of type 'char *'
void str_cpy(char (*s)[], char (*t)[]) {{
^~~~~~~
prog.c:23:17: warning: passing argument 2 of 'str_cpy' from incompatible pointer type [-Wincompatible-pointer-types]
str_cpy(pp, pp1); //warnings here
^~~
prog.c:1:6: note: expected 'char (*)[]' but argument is of type 'char *'
void str_cpy(char (*s)[], char (*t)[]) {{
^~~~~~~
Exit Code:
0