2743번 - 단어 길이 재기
런타임에러 이유가 뭔가요?
+
#include #include int main(){ char s[30]; int str; gets(s); str = strlen(s); printf("%d\n",str);}
strlen함수 써서 해봤는데도 런타임에러가 뜨네요.
단어 최대 길이를 잘 보세요.
단어 최대 길이를 잘 보세요.!
100까지 아닌가요??
댓글을 작성하려면 로그인해야 합니다.
zerose219 2년 전
런타임에러 이유가 뭔가요?
+
#include
#include
int main(){
char s[30];
int str;
gets(s);
str = strlen(s);
printf("%d\n",str);
}
strlen함수 써서 해봤는데도 런타임에러가 뜨네요.