Consider the following C code:
int main() {
sum = 0;
for (n = 1; n < 3; n++) {
n++;
sum += g(f(n));
}
printf("%d", sum);
}
int g(n) {
return 10 + n;
}
int f(n) {
return g(2 * n);
}
What is the output?
Fill in the blank with the correct option.
The teacher believed that the student’s sudden lack of interest in class was an ..........., as he had always been enthusiastic and attentive.
What comes next in the series?
\(2, 6, 12, 20, 30, \ ?\)