Hmmm, could you possibly tell me what you entered to be reversed? Although I guess it doesn't really matter since I'm still getting the odd characters. Perhaps it might be old data from past debug runs.
If you are asking why the MA at the end of the 2nd it might be since you use the same char array to store the input without resetting the null? Not sure exactly, to be honest. Honestly, if that was the case I would expect the 2nd output to be AMREVEN.
Edit: Actually, it works fine for me too, after making the change cire suggested. Otherwise it simply output nothing, as you would expect from an empty char array. getline() must add the terminating null to the end of never anyway.