snipplets.dev/code/C/Strings/buffer_len.h

5 lines
87 B
C

/* size_t strlen(const char *s); */
size_t length;
length = strlen("Example string");