This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi, i got it this way. Hope it's correct. a[i]=i+=a[i++]; initially i = 1 so, expression become, a = i+ = a Now, Evaluating from Right to left first i+=a; i = i + a = 6 then a = 6 Therefore a remains 0 and i is now 6