Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- size_t my_strlen(const char *s) {
- const char* cur = s;
- for (; *cur; ++cur);
- return cur - s;
- }
- int size_s(char *s)
- {
- int i;
- for (i = 0; s[i] != '