You could use a global variable. Just put
Code:
char user[20];
outside of any functions, at the top of the file so it's visible to all the functions. Then just use it as you would if you'd declared it inside the function.

It's not really good programming practice to use globals though unless they're absolutely necessary. In this case it would be better to pass it as a parameter as R.Stiltskin suggested.