Quiz on C++ Foreach Loop