Order of operations

Discussion in 'C' started by eilon, Aug 28, 2014.

  1. eilon

    eilon New Member

    Joined:
    Aug 28, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    i noticed that the expression x+++y is equal to x+(++y)
    what make c to choose this and not (x++)+y?
     
  2. eilon

    eilon New Member

    Joined:
    Aug 28, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    i checked again and i was wrong
    it is realy (x++)+y like the priority rules .
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice