sequence points in C

Home Forums C Programming sequence points in C

Viewing 0 reply threads
  • 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.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
Share
Tweet
Share
Pin