1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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