to know how many characters are in a char array C code example Example: length of a char array in c char chararray[10]; size_t len = strlen(chararray);