Function to find string length in C

int string_length(char *s)
{
   int c = 0;
 
   while(*(s+c))
      c++;

   return c;
}