HOME | LAB PROGRAMMING | RATIONAL ROSE DIAGRAM | COMPUTE GRAPHICS | CLASS DIAGRAM | NETWORK PROGRAMING | BEST OF THE SITE

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.

0 comments: