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