i hope you read them -this is true as i tried them many times if you have another opinion illustrate it thanks Eng A.Mahmoud
--- On Thu, 5/28/09, John Matthews <[email protected]> wrote: From: John Matthews <[email protected]> Subject: [c-prog] Re: confusing output To: [email protected] Date: Thursday, May 28, 2009, 9:25 AM --- In c-p...@yahoogroups. com, Ahmed Mahmoud <eng_hamada2585@ ...> wrote: > > i think the two codes will give the same result -this is as i tried > it- as > m++ means: the operation will first be done and then the increase by one > will occur > ++m means:the increasing by one will occur and then the operation will will > be done > by substituting by this > 1- v=0+5+(1+(5+ 1))=12 > 2-v=5+(1+(5+ 1))=12 > as 0+ anything =anything > Thanks > Eng A.Mahmoud Please read the previous posts in this thread which explain why this explanation is incorrect. [Non-text portions of this message have been removed]
