函数 f(int n) 定义如下,则 f(4) 的结果是( )。 int f(int n) { if (n == 1) return 1; return n + f(n - 1); } A. 4 B. 7 C. 9 D. 10