strlen. size_t strlen ( const char * str );. Get string length ... Therefore, while sizeof(mystr) evaluates to 100, strlen(mystr) returns 11.
確定! 回上一頁