It began life as a C library, and wound up part of C++.
If the intent of your assignment is for you to create an array of char and manually operate on it, then using the functions provided in cstring would be out of bounds.
Based off the other thread, Repeater is correct, you probably are expected to make your own strlen (or similar) function, by looping over a char array until the arr[i] == '\0'.