✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is your opinion of the following code fragment?
int foo(int n) {
const int ci {n};
int array[ci] = { ci, array[0]+1, array[1]+2, array[2]+3};
return array[0]+array[1]+array[2]+array[3];
}