Have I achieved a null- terminated C-string through the code?

Can I get some help here?