C Tutorial/string.h/strlen
strlen
Item Value Header file string.h Declaration size_t strlen(const char *str); Return returns the string length. The null terminator is not counted.
   
#include<string.h>
#include<stdio.h> 
int main(void){
   printf("%d", strlen("hello"));
}