prog.c: In function ‘main’:
prog.c:7:6: error: conflicting types for ‘input’
int input;
^~~~~
prog.c:6:7: note: previous declaration of ‘input’ was here
char input[100];
^~~~~
prog.c:10:10: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%s",input);
^
prog.c:11:44: error: expected ‘)’ before ‘mystrlen’
printf("문장의 길이는 %d입니다." mystrlen(input));
^~~~~~~~
prog.c:11:31: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
printf("문장의 길이는 %d입니다." mystrlen(input));
^
prog.c: At top level:
prog.c:14:1: error: expected identifier or ‘(’ before ‘{’ token
{
^