Help a student re: Re-using variables
In main I use a variable say "char user_input;" then I no longer have a need for that particular variable. However, I do need another variable say "char function_result;"
The way I see it I can easily do two things:
1) make a new variable
2) or use the old variable
but is there a way to rename the old variable with the new name?
|