8 lines
130 B
C
8 lines
130 B
C
|
#include <stddef.h>
|
||
|
|
||
|
size_t strlen(const char* string) {
|
||
|
size_t size = 0;
|
||
|
while (string[size])
|
||
|
size++;
|
||
|
return size;
|
||
|
}
|