Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!rex!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: A question about typedef! Message-ID: <14539@smoke.brl.mil> Date: 20 Nov 90 17:44:06 GMT References: <1990Nov20.153907.12373@mathrt0.math.chalmers.se> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 9 In article <1990Nov20.153907.12373@mathrt0.math.chalmers.se> d0thomas@dtek.chalmers.se (Thomas Lundqvist) writes: >Hello! Could someone please tell me the difference between: >struct TEST { int a; }; >typedef struct { int a; } TEST The first declares a structure tag, the second (assuming you provide a terminating semicolon) declares a synonym for a tagless structure. K&R probably explains this.