Easy question: Passing variables to function

You can't concatenate C strings like that, with the + operator.
You can use strcat or sprintf to achieve what you want.