I'm working my way through Learn C on the Mac.
When he discusses variable names he says they should start with either and upper or lower case letter. But when he talks about globals he says you declare a global like this.
int gmyVar;
Does this imply that any name starting with a g is a global? So the following
int goodOne;
declares a global even though I didn't intend that?
Thanks
When he discusses variable names he says they should start with either and upper or lower case letter. But when he talks about globals he says you declare a global like this.
int gmyVar;
Does this imply that any name starting with a g is a global? So the following
int goodOne;
declares a global even though I didn't intend that?
Thanks