Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uakari.primate.wisc.edu!uflorida!stat!sun13!prism!cc100aa From: cc100aa@prism.gatech.EDU (Ray Spalding) Newsgroups: comp.lang.c Subject: Re: ANSI C questions (parameters, structure assignment) Message-ID: <12940@hydra.gatech.EDU> Date: 23 Aug 90 19:49:14 GMT References: <1081.26d26274@desire.wright.edu> <1990Aug23.154013.28712@zoo.toronto.edu> Organization: Georgia Institute of Technology Lines: 14 In article <1990Aug23.154013.28712@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes: >In article <1081.26d26274@desire.wright.edu> demon@desire.wright.edu writes: >> 2) Are structure assignments allowed only for initializations >>or can I do: >>struct_thing = other_struct_thing; > >Yes, you can. Provided, of course, that the two structs are of the same type. -- Ray Spalding, Technical Services, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0275 uucp: ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!cc100aa Internet: cc100aa@prism.gatech.edu