I am trying to create a C program on Windows Vista, and there is one line of code that consistently crashes a.exe during run time.
(*pointer is pointing to a string of characters)
When I remove this line, there is no problem. When I change %s to %c, there is no problem and it simply prints the first char of the string. I have included a video of this happening.
I am using GCC on MinGW (a compiler for Windows)