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.
When you run it it prints 1 2 3 4 5 6 7 8 9 10 So is both a and e correct? I am confused Can someone explain how the code is working? Thankx
Joined: Aug 26, 2001
it's not a matter of printing it is a matter of HOW the arrays look like... the first array has one element: 1 the second array has two elements: 2 3 the third array has three elements: 4 5 6 the fourth array has four elements: 7 8 9 10 so answer e is correct !! Val