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
  • The forum ‘C Programming’ is closed to new topics and replies.