N
newsock
What's the implied meaning of using extern below?
extern int main(void)
{
...
}
extern int main(void)
{
...
}
newsock said:What's the implied meaning of using extern below?
extern int main(void)
{
...
}
Richard said:It's identical to:
int main(void)
{
...
}
and I presume you already know what that means.
In said:Doesn't extern imply that the function or variable or whatever that's
being extern'd is externally defined some place? Does writing extern
like this have any possible side effects? What if it was written against
some variable?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.