Next: , Previous: c99-like fast enumeration syntax, Up: Fast enumeration


8.9.3 Fast enumeration details

Here is a more technical description with the gory details. Consider the code

       for (object expression in collection expression)
       {
         statements
       }

here is what happens when you run it: