Path: utzoo!attcan!uunet!husc6!rutgers!okstate!ash From: ash@a.cs.okstate.edu (Ashok Rathi) Newsgroups: comp.unix.questions Subject: Re: why p->member ? Message-ID: <3810@okstate.UUCP> Date: 5 Aug 88 19:08:09 GMT References: <16734@adm.ARPA> Organization: Oklahoma State Univ., Stillwater Lines: 8 "p.member" will be interpreted as "p" being the name of the structure and "member" being the element of that structure. While "p->member" will be interpreted as "p" being the pointer to the structure and "member" being the structure itself or the element of the structure. In one case, "p" is the structure and in another a pointer to the structure. Compiler must know what is what since it has to allocate the space accordingly.