hi ranjan, you can take a look at this link: http://newdata.box.sk/bx/c/htm/ch04.htm best regards, Duong Van Yen ------------------------------------------- Duong Van Yen (Mr.) Ph.D student Structure Lab of Mechenical Engineering Department Toyohashi University of Technology, Japan Phone: (+81)9041627863 -------------------------------------------
----- Original Message ---- From: ranjan kumar ojha <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, March 22, 2007 3:36:54 AM Subject: [c-prog] c objective.... 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] ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 [Non-text portions of this message have been removed]
