Arduino is freezing after running function twice

No, I won't end up with "hellworld", I have also tested it and it works. How can I do it without String? Please elaborate.Thanks