35
Index-based Active Iteration
•As for any other container, you can use either a passive iterator or a cursor-based active iterator.  However, since a vector also supports index-based operations, you can also use a for loop to iterate in the traditional way.