1 2 3 4 5 6 7 8 9 10 | #include <stdio.h> #include <string.h> int main(void) { char s[] = "abcdefgh"; int len = strlen(s); printf("¹®ÀÚ¿ %sÀÇ ±æÀÌ=%d \n", s, len); return 0; } | cs |