Path: utzoo!attcan!sobmips!uunet!samsung!brutus.cs.uiuc.edu!psuvax1!psuvm!cmh117 From: CMH117@PSUVM.BITNET (Charles Hannum) Newsgroups: comp.lang.c Subject: Re: Extern variables question Message-ID: <89320.012957CMH117@PSUVM.BITNET> Date: 16 Nov 89 06:29:57 GMT References: <1958@atanasoff.cs.iastate.edu> Distribution: na Organization: Penn State University Lines: 6 You should define a global variable in *exactly one* module, no more, no less. All other modules should refer to it as an extern. Most linkers will generate an error if a global variable by the same name is defined in more than one module. As for initializing it, that depends ... Your answer could be either B or C.