How to get the length of unsigned char ?
Example
unsigned char uch[] ="welcome";
size_t len = strlen(uch);
its giving the error: "invalid conversion from ‘unsigned char*’ to ‘const char*"
But its ok in case of char
How to resolve that ?
Example
unsigned char uch[] ="welcome";
size_t len = strlen(uch);
its giving the error: "invalid conversion from ‘unsigned char*’ to ‘const char*"
But its ok in case of char
How to resolve that ?
Comment