✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider the following code snippet:
n=10;for (i = 0; i <= n+1; i++) { a[i] = 2*i;
n=n-rand();}Which of the following is the most relevant and optimized technique(s) that can be applied to improve the above code?