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 <[email protected]>
To: [email protected]
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:[email protected]>.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]

Reply via email to