File size: 87 Bytes
bff4ec7
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
int strlen(char *s)

{
  int i = 0;

  while (s[i] != 0) {
    i++;
  }
  return i;
}