void someFunc()
{
int accumulated = 0;
int numbers[] = { 1, 2, 5 };
for (int i : numbers)
accumulated += i;
}