Path: utzoo!attcan!uunet!husc6!mailrus!ncar!noao!asuvax!stjhmc!p6.f18.n114.z1.fidonet.org!will.summers From: will.summers@p6.f18.n114.z1.fidonet.org (will summers) Newsgroups: comp.lang.c Subject: Re: questions about C standards Message-ID: <704.2339B3D2@stjhmc.fidonet.org> Date: 21 Sep 88 07:14:02 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.24) Organization: FidoNet node 1:114/18.6 - Iasd Eng Bbs, Phoenix Az Lines: 25 In article <8809171754.AA02615@lakisis.umd.edu> mbp@LAKISIS.UMD.EDU ("Mark Phillips ", RD Goldman) writes: > > I have two questions regarding C standards: > > (2) Is it considered acceptable to do the following things with > structures or unions? > (a) pass them (by value) to functions > (b) have functions which return them > (c) assign them (=) Yes. > (d) test them (structures only) for equality with == Don't think so. Problem is "holes" that might have been left for alignment purposes. > Thanks! Yawelcome! \/\/ill -- St. Joseph's Hospital/Medical Center - Usenet <=> FidoNet Gateway Uucp: ...{gatech,ames,rutgers}!ncar!noao!asuvax!stjhmc!18.6!will.summers