View Single Post
  #1 (permalink)  
Old February 6th, 2006, 05:49 PM
random_eh random_eh is offline
Registered User
Join Date: Feb 2005
Location: , , Canada.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to random_eh
Default 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?
Reply With Quote