Date: Fri, 25 Apr 1997 14:49:33 +0200 (MET DST) From: Miguel Murillo To: djgpp AT delorie DOT com Subject: Thanx for Re: It's a Bug? and Pug? In-Reply-To: <5jnuq1$fle@vidar.diku.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Thanks : Morten,Joseph B., Brent, George and Salvador Sorry previus e-mail erroreus: But It's bizarre: #include #include #include #include int main() { int a,b; a=0; (++a)++; printf("\nEl valor de a =%d",a); } OK!!!.. 2 But ++(a++); BAD !!!... Answer: > This is undefined in C. Don't even try to do more than one > modification to the same memory location within one expression. > Yes, It's is true.