Can you say me why different size in this example:
// 1
std::string str = "Sun Mar 29 16:05:28 2020";
const unsigned char *t{};
t = (unsigned char *) str.c_str();
std::cout << "t: " << t << " : " << sizeof(t) << " : " << str.length() << std::endl;
std::cout << "--" << std::endl;
// 2
const unsigned char f[] = "Sun Mar 29 16:05:28 2020";
std::cout << "f: " << f << " : " << sizeof(f) << std::endl;
std::cout << "--" << std::endl;
Output: