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

increment operator- help me please

Discussion in 'C' started by ajayfame, Oct 2, 2010.

  1. ajayfame

    ajayfame New Member

    Joined:
    Oct 2, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    please help me with this.....

    a=1;

    b = a++ + ++a+ ++a;

    the output is coming b=7...


    can any1 plzz explain
     
  2. jimblumberg

    jimblumberg New Member

    Joined:
    May 30, 2010
    Messages:
    120
    Likes Received:
    29
    Trophy Points:
    0

Share This Page