Advertisement
yudakov1814

Untitled

Apr 10th, 2020
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.11 KB | None | 0 0
  1. int Strlen(const char str[]) {
  2.     int length = 0;
  3.     while (str[length] != '\0') {
  4.         ++length;
  5.     }
  6.     return length;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement