yeah..... sandip...... i got also 14 (calculating)..... bt my visual c++ 
compiler showed "9"  !!!!
 




________________________________
From: Sandip Tujare <[email protected]>
To: [email protected]
Sent: Thursday, 3 September, 2009 6:05:12 PM
Subject: Re: [c-prog] what would be the output

  
Answer of this program is 14 because here order of evaluation of the statement 
is right to left.

Thanks & Best Regards
Sandip Tujare

____________ _________ _________ __
From: Akash Goswami <akashgoswami93@ yahoo.com>
To: c-p...@yahoogroups. com
Sent: Thursday, 3 September, 2009 5:23:21 PM
Subject: [c-prog] what would be the output

#include<stdio. h>
#include<conio. h>
int main()
{
int m=1;
m=m++ + m++ + ++m + ++m;
printf("%d", m);
getch();
} 

what would be the output &WHY?????plz explain

Love Cricket? Check out live scores, photos, video highlights and more. Click 
here http://cricket. yahoo.com

[Non-text portions of this message have been removed]

------------ --------- --------- ------

To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe@ 
yahoogroups. com>.Yahoo! Groups Links

Love Cricket? Check out live scores, photos, video highlights and more. Click 
here http://cricket. yahoo.com

[Non-text portions of this message have been removed]





      Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com

[Non-text portions of this message have been removed]

Reply via email to