On Wed, 31 Mar 1999, Rivalino Matias Junior wrote:
> The result of x is two. Why ?
My C compiler won't compile that - it claims you're assigning to an invalid
lvalue. I suspect there's a compiler bug to do with assignments in a
ternary operator as the rvalue of an assignment. Wrapping the two x='s on
the right-hand side generates the expected output.
--Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/