Code: #include<stdio.h> #include<conio.h> int x=40; int main() { int x=20; printf("%d\n",x); return(0); }
the result will be 20; and the reason is whenevr there is a conflict between local variable & global variable it is the local variable that gets the priority...