hi everyone, can u guide me for the following(C++ beginer)::
i want to find the string length of str2 after assiging str1 to str2.

unsigned char* str1 = NULL;
char* str2 = NULL;
int istrlength = 0;

cin>>str1;
str2 = (char*)str1;
istrlength = strlen(str2);
cout<<istrlengt h;