L
Larry Gates
Just wanted to make sure of soemthing and couldn't find it in K&R.
q1) External variables are always initialized. (To zero if not explicitly
initialized to another value.)
q2) External variables are declared in the same file, but outside of any
function.
q3) The one that is actually used for initialization is the one that does
not have the extern attribute.
q4) C requires that one not have the extern attribute, and that all others
do have it.
Thankds for your comment.
q1) External variables are always initialized. (To zero if not explicitly
initialized to another value.)
q2) External variables are declared in the same file, but outside of any
function.
q3) The one that is actually used for initialization is the one that does
not have the extern attribute.
q4) C requires that one not have the extern attribute, and that all others
do have it.
Thankds for your comment.