236k points Registered user
Variables belonging to different scope can have same name as in the following code snippet.
int var;
void f() {
}
main() {
Get access to your account and question