Portability of passing/operating on structures...
Andrew Koenig
ark at alice.UUCP
Sat Oct 15 11:10:05 AEST 1988
In article <8810111934.AA21941 at ucbarpa.Berkeley.EDU>, U23405 at UICVM.Berkeley.EDU (Michael J. Steiner) writes:
> Is it considered portable to do the following things with
> structures or unions?
> -pass them (by value) to functions
Yes.
> -have functions which return them
Yes.
> -assign them (=)
Yes.
> -test them (structures only) for equality with ==
No.
--
--Andrew Koenig
ark at europa.att.com
More information about the Comp.lang.c
mailing list