Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int strlen(const char ? s)
- {
- int i = 0;
- int n = s.size;
- if (s != NULL)
- while (i < n && s[i] != '\0')
- i++;
- return i;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement