问题:strlen()函数警告

函数功能是输出指针数组的最长字符串长度
问题:strlen()函数警告[警告]不同符号的整数表达式的比较:“size_t”{aka“unsigned int”}和“int”[-Wsign compare]

img

max_len的类型改成size_t