I am confused by some keywords in C language .I am trying to understand their use in coding
Take a look at this code I am declaring variable x and assigning value
I am declaring variable with extern keyword
anyone can help me understand. What does this exerern keyword do in the code ?
Take a look at this code I am declaring variable x and assigning value
Code:
int x = 8
main()
{
.......
}
Code:
extern int x = 8
main()
{
.......
}