--- ranjan kumar ojha <[EMAIL PROTECTED]>
wrote:
> Hi friends,
>
> look few objective question.....
> #include<iostream>
> using namespace std;
> int main()
> {
> int i=3;
> i += i++ + ++i;
> cout<<i;
> return 0;
> }
> answer = 13
>
> #include<iostream>
> using namespace std;
> int main()
> {
> int i=3;
> i =i+ i++ + ++i;
> cout<<i;
> cin.get();
> return 0;
> }
> answer =11
>
> #include<iostream>
> using namespace std;
> int main()
> {
> int i=3;
> i =i+ (i++ + ++i);
> cout<<i;
> cin.get();
> return 0;
> }
>
> answer = again 13
>
> can any one reveal the concept of i++.
>
>
> ---------------------------------
> New Yahoo! Mail is the ultimate force in
> competitive emailing. Find out more at the Yahoo!
> Mail Championships. Plus: play games and win prizes.
>
> [Non-text portions of this message have been
> removed]
>
>
its the same as writing i = i + 1;
Mickey M.
Construction Partner Inc.
http://www.constructionpartner.com
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel
bargains.
http://farechase.yahoo.com/promo-generic-14795097