ANSI C questions (parameters, structure assignment)

Ray Spalding cc100aa at prism.gatech.EDU
Fri Aug 24 05:49:14 AEST 1990


In article <1990Aug23.154013.28712 at zoo.toronto.edu> henry at zoo.toronto.edu (Henry Spencer) writes:
>In article <1081.26d26274 at desire.wright.edu> demon at 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 at prism.gatech.edu



More information about the Comp.lang.c mailing list