Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C extern

int main()
{
    int a = 40; // local variables always win when there is a conflict between local and global.

    {
        extern int a;
        printf("%d
", a);
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #C #extern
ADD COMMENT
Topic
Name
5+9 =