I saw [here](https://stackoverflow.com/questions/261431/how-to-find-the-length-of-unsigned-char-in-c) that it isn't possible to find out a (unsigned char \*) string length using strlen if it isn't NULL terminated, since the strlen function will go over the string but won't find any '\0', hence a run-time error. I figure that it is exactly the same for string declared with signed char \*.

I saw a code snippet that was doing something like `int len = sizeof(unsigned char *);` but, as I understand, it only gives the size of a pointer - word size. Is it possible to use sizeof in another way to get the result or do I have to get the length somewhere else?