Consider the following C function
int f(int n) {
static int i = 1;
if (n >= 5) return n;
n = n + i;
i++;
return f(n);
}
The value returned by f(1) is
Reveal answer
Fill a bubble to check yourself
Consider the following C function
int f(int n) {
static int i = 1;
if (n >= 5) return n;
n = n + i;
i++;
return f(n);
}
The value returned by f(1) is