|What are you expecting? The second parameter is a char*, and you're treating as a char. Also, incrementing i multiple times in printf() |might very well be is undefined behavior.
EDIT: Parameter order is not, in fact, defined in the C standard.
How To Ask Questions The Smart Way