This is a function my professor wrote on the board. It is supposed to write a word in reverse order. However I cannot seem to compile and run it.Code:
void writeback(char n)
cout << n;
I have copied down exactly as he has written it on the board but the part where I bold throws off an error during compile. Could you see what is wrong with this code?