[lkml]   [1999]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[OFFTOPIC] Re: A bit off-topic ... (fwd)
    First, let me say that this message is VASTLY offtopic for the linux-kernel
    mailing list. This mailing list is for discussion of the Linux kernel's
    internals - NOT about basic C programming.

    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.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:51    [W:0.017 / U:2.848 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site