questions about C standards
will summers
will.summers at p6.f18.n114.z1.fidonet.org
Wed Sep 21 17:14:02 AEST 1988
In article <8809171754.AA02615 at lakisis.umd.edu> mbp at 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
More information about the Comp.lang.c
mailing list