This program is supposed to read what user inputs backword. The errors I get are:
Line 33: expected primary-expression before ']' token
Line 34: expected primany-expression before ']' token
if I put integer, I get the error:
Line 33: invalid conversion from 'char' to 'char*'
Line 34: invalid conversion from 'char' to 'char*'
The compiler is complaining that those assignments don't make sense. Applying the array subscript operator to a char* gives you a char, which you try to assign to/from a separate char*.