you could also make a loop in order to set each character of the array to NULL.

I do often, I think it improves the understanding of loops and character pointers.