Extern keyword in c/c++

main()
{
Extern int a;
printf(“\n%d”,a);
}
int a=20;
Tutorial answer:20
Debugging solution:Extern keyword it display there value only when there value is specified in the outside the main function , otherwise it will display liker error.

Related post