Code:
------
int x,x;
int main(){
int x,x;
x = 10;
return 0;
}
In this code ... if i commented out the local declaration of "int x,x;" (inside main) the code compiling successfuly..
But if commented out global ones and not local one's we will get compilation error for the same variables name declaration...
Can sb let me know the resoning behind the same.


