title: Does anyone know the reason why the variables have to be defined at the top of function
body: <p>I have a question, does anyone know why the variables have to be defined <s>initialized</s> at the beginning of a function?  Why can't you initialize or define variables in the middle of a function in C as in C++?</p>