How to find the length of an char array in c - Stack Overflow

How to find the length of an char array in c - Stack Overflow

瀏覽:983
日期:2025-09-28
I want to find the length of this : char *s[]={"s","a","b"};. it should count 4 ... You are making an array or char* and not of char. That's why strlen won't ......看更多