how to convert a string to string array in c