For the actual size of the pointer:
size_t s = sizeof(unsigned char*);
If you want the length of the string:
unsigned char* bla = (unsigned char*)"blabla";
int s = strlen((char*)bla);
For the actual size of the pointer:
size_t s = sizeof(unsigned char*);
If you want the length of the string:
unsigned char* bla = (unsigned char*)"blabla";
int s = strlen((char*)bla);