sequence points in C

Home Forums C Programming sequence points in C

This topic contains 0 replies, has 1 voice, and was last updated by  AlishaClaborn 9 years, 10 months ago.

  • Author
    Posts
  • #2153

    AlishaClaborn
    Participant

    why the following expression is undefined in C :-

    x = i++ * i++;

    but the foillowing is valid :-

    x = i++ && i++;

    Plz tell me the reason…

    Thanks.

You must be logged in to reply to this topic.