Is simple assignment allowed with structs

Avery Colter avery at netcom.COM
Thu Apr 18 19:58:03 AEST 1991


And so the mindless philosopher asks, "Yes, but WHY was it decided that
simple struct assignment had universal semantics?"

I suggest it was for the reason I stated, that the memory offsets are the
same for all variables of the same type of struct.

-- 
  ^     ^ 	Avery Ray Colter    
 /^\___/^\    	avery at netcom.com		{apple|claris}!netcom!avery  
(  o _ o  )   	elfcat at btr.btr.com		{decwrl|mips|sgi}!btr!elfcat
 \  /v\  /      71067.606 at compuserve.com	(415) 839-4567
  \_*-*_/
    `-'			Afternoon has gently passed me by.	    - The
  ELFCAT! 		And Evening spreads itself against the sky.   Police



More information about the Comp.lang.c mailing list