Advertisement
chemoelectric

Untitled

Jan 6th, 2013
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. int strlen(const char ? s)
  2. {
  3. int i = 0;
  4. int n = s.size;
  5. if (s != NULL)
  6. while (i < n && s[i] != '\0')
  7. i++;
  8. return i;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement