#include <iostream>
int main() {
char test[] = "Hellóóóó"; // test[10] won't compile. Use test[13] or just test[]
std::cout << "The string " << test << " consists of " << sizeof test << " bytes: ";
for(std::size_t n = 0; n < sizeof test; ++n)
std::cout << std::hex << +(unsigned char)test[n] << ' ';
std::cout << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7CgogICAgY2hhciB0ZXN0W10gPSAiSGVsbMOzw7PDs8OzIjsgLy8gdGVzdFsxMF0gd29uJ3QgY29tcGlsZS4gVXNlIHRlc3RbMTNdIG9yIGp1c3QgdGVzdFtdCgogICAgc3RkOjpjb3V0IDw8ICJUaGUgc3RyaW5nICIgPDwgdGVzdCA8PCAiIGNvbnNpc3RzIG9mICIgPDwgc2l6ZW9mIHRlc3QgPDwgIiBieXRlczogIjsKICAgIGZvcihzdGQ6OnNpemVfdCBuID0gMDsgbiA8IHNpemVvZiB0ZXN0OyArK24pCiAgICAgICAgc3RkOjpjb3V0IDw8IHN0ZDo6aGV4IDw8ICsodW5zaWduZWQgY2hhcil0ZXN0W25dIDw8ICcgJzsKICAgICAgICAKICAgIHN0ZDo6Y291dCA8PCAnXG4nOwp9Cg==