for each
12345678910111213
#include <iostream> using namespace std; int main() { int a[10]; for each(int b in a) { cout<<b<<'\n'; } cin.get(); return 0; }