Declaration of a variable

char ch can be initialized outside the loop?
because it will slow down the program because it is being initialized again and again.
I think so plz clarify

yes ,you can declare it gobally