lines 7 - 18 seem to be all right.
the others should be if(n >= 0) rather than if(n > i), and remove lines 19 - 23, n and i are changed on recursive function call.
also, you don't need the int col. you're not using it anywhere.
your function is supposed to return char, but your iterative version doesn't return anything at all. either add something to return or make the function void.
if you decide to make it a void function, delete the 'return' on line 16 and leave a simple function call, because void functions cannot return anything and void cannot be returned.
edit: also, it could be that n-- first passes n to the function and only then decreases it. write either --n or n-1.