You're placing 200 character pointers on the stack, none of which is initialized. Then you try to read data into the 201st character pointer, meaning that you first access
beyond the limits of your pointer array, and then at random memory. You just put down code and tweaked until you got no more compile errors, did you? Get away from C-style strings. Until you've learned about memory ...