TheGunslinger
7/22/2011 10:00:00 PM
On Fri, 22 Jul 2011 11:27:35 -0700, blp@cs.stanford.edu (Ben Pfaff)
wrote:
>LJ <djtheshowstopper@gmail.com> writes:
>
>> I read that in C++ const objects are local to a file by default that
>> is if extern is not specified, is this thing also valid in C??
>
>No.
Purely a suggestion, review pages 286+ in Sam's Teach Yourself C, 6th
Edition.
Also, pages 453-463 in C Primer Plus, 5th Edition.
These references will give you a good starting point for scope of
variables, use of 'const' and 'extern' keywords.
IMHO,
MJR