#include <iostream>
int main()
{
char *str = "hello world";
int i = 0;
while( *str )
{
i++;
str++;
}
std::cout << sizeof(char) * i;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKQp7CgljaGFyICpzdHIgPSAiaGVsbG8gd29ybGQiOwoJaW50IGkgPSAwOwoJd2hpbGUoICpzdHIgKQoJewoJCWkrKzsKCQlzdHIrKzsKCX0KCXN0ZDo6Y291dCA8PCBzaXplb2YoY2hhcikgKiBpOwoJCglyZXR1cm4gMDsKfQ==