✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Vaatleme järgmist programmilõiku
std::vector a{1, 1, 2, 3, 5}; int s = 0; for (int i = 1; i < 4; ++i) { s += a[i]; }Milline on nüüd s väärtus?