void main{ //declare variable here is ok; do something; //declare variable here is not ok; { //declare variable here is ok; do something; } do something; }
void main{ //declare variable here is ok; do something; //declare variable here is not ok; { //declare variable here is ok; do something; } do something; }