Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon From: gordon@osiris.cso.uiuc.edu (John Gordon) Newsgroups: comp.lang.c Subject: Re: A question about typedef! Message-ID: <1990Nov21.025645.22605@ux1.cso.uiuc.edu> Date: 21 Nov 90 02:56:45 GMT References: <1990Nov20.153907.12373@mathrt0.math.chalmers.se> Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 11 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 I think the difference is that if you use the first way, you will always have to say "struct TEST" whenever you declare a var of that type and the second way you can just say "TEST" without the "struct".