I'm not your book.
but, do this:
print the value of x, and see why it's not giving you the answer you want.
Thanks,
_|_|_|_|_| _| _|_|_|_|
_| _|_|_| _| _|_|_|
_| _| _| _|_|_| _|
_| _| _| _| _|
_| _| _| _|_|_|_| _|_|_|
Visit TDS for quality software and website production
http://tysdomain.com
msn: [EMAIL PROTECTED]
aim: st8amnd2005
skype: st8amnd127
----- Original Message -----
From: radha krishnan
To: [email protected]
Sent: Saturday, September 27, 2008 12:55 AM
Subject: [c-prog] c program
hello guys ,
following c pgm ,give the answer with explanation.i canot find the
answer for this question
i)void main()
{
int x=1;
int y;
y=++x+++x+++x;
printf("%d",y);
}
ii) void main()
{
int x=1;
inty=++x+++x+++x;
printf("%d", y);
}
Give me the answer in detail.and also explain its computation
manner.
thank u,
radhakrishnan.
Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
[Non-text portions of this message have been removed]
__________ NOD32 3475 (20080926) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
[Non-text portions of this message have been removed]