I need to know the result of this small progarm and rwrite this program with good style .
int a = 0, b = 0, c = b;
// this is the declaration for the variables *//
/*
Lets see how tight I can get this code ... */
a = b++; // the value of x here is
a = b--;
c = ++a - b++ + a--;
---------
Can I know the result of the variable C and re writting the progarm with readable codes
Thanks
Fix this programFix this program
Page 1 of 1
3 Replies - 841 Views - Last Post: 30 September 2007 - 08:46 AM
Replies To: Fix this program
#2
Re: Fix this program
Posted 30 September 2007 - 08:27 AM
Hi thagafnh, welcome. I'm sorry to say but this homework is not that difficult, so you should try it on your own. Read the forum rules please.
#3
Re: Fix this program
Posted 30 September 2007 - 08:45 AM
PennyBoki, on 30 Sep, 2007 - 08:27 AM, said:
Hi thagafnh, welcome. I'm sorry to say but this homework is not that difficult, so you should try it on your own. Read the forum rules please.
thagafnh, on 30 Sep, 2007 - 08:40 AM, said:
Please this a first particpation . I need to re write with goog style to be readable .
Thanks and apprerciate your effort
thagafnh, on 30 Sep, 2007 - 08:42 AM, said:
PennyBoki, on 30 Sep, 2007 - 08:27 AM, said:
Hi thagafnh, welcome. I'm sorry to say but this homework is not that difficult, so you should try it on your own. Read the forum rules please.
thagafnh, on 30 Sep, 2007 - 08:40 AM, said:
Please this a first particpation . I need to re write with good style to be readable .
Thanks and apprerciate your effort
Thanks and apprerciate your effort
#4
Re: Fix this program
Posted 30 September 2007 - 08:46 AM
thagafnh, on 30 Sep, 2007 - 08:42 AM, said:
Please this a first particpation . I need to re write with goog style to be readable .
Thanks and apprerciate your effort
Thanks and apprerciate your effort
read the rules please C/C++ FORUM RULES
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|