function to receive array of char in c when you don't know the size code example Example: length of a char array in c char chararray[10]; size_t len = strlen(chararray);