/in/P3.c: In function 'main':
/in/P3.c:12:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0;i < strlen(str);++i)
^
/in/P3.c:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0;j < strlen(parstr)-1;j++)
^
/in/P3.c:27:27: warning: passing argument 2 of 'strcat' makes pointer from integer without a cast [-Wint-conversion]
strcat(token1,parstr[j]);
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/P3.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'char'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
/in/P3.c:33:5: warning: statement with no effect [-Wunused-value]
for (m;m < strlen(parstr)-1;m++)
^~~
/in/P3.c:33:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (m;m < strlen(parstr)-1;m++)
^
/in/P3.c:37:27: warning: passing argument 2 of 'strcat' makes pointer from integer without a cast [-Wint-conversion]
strcat(token2,parstr[m]);
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/P3.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'char'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
/in/P3.c:8:13: warning: variable 'c' set but not used [-Wunused-but-set-variable]
int a,b,c;
^