initialize the values of your strings like so
char string1[50] = "";
char stringInvertida[50] = "";
then use fgets in receiving a input instead of using gets here's the reason why
zeroliken
Veteran Poster
1,106 posts since Nov 2011
Reputation Points: 201
Solved Threads: 162