Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!agate!violet.berkeley.edu!holub From: holub@violet.berkeley.edu Newsgroups: comp.std.c Subject: scope of a structure tag Keywords: structure tag scope Message-ID: <18799@agate.BERKELEY.EDU> Date: 6 Jan 89 22:53:16 GMT Sender: usenet@agate.BERKELEY.EDU Reply-To: holub@violet.berkeley.edu () Organization: University of California, Berkeley Lines: 21 I'm confused about the scope of a structure tag. Is the following legal in ANSI C: struct tag1 { struct tag2 { int a, b; } x; } struct tag3 { struct tag2 y; } or does the inner structure have to be redefined in tag3? - Allen Holub holub@violet.berkeley.edu ...!ucbvax!violet!holub