单选题:In the following function, what is the ending condition of recur
In the following function, what is the ending condition of recursive programming?
```
int xFunction(int n)
{
if (n == 1) return 1;
else return n + xFunction(n - 1);
}
```答案:A
```
int xFunction(int n)
{
if (n == 1) return 1;
else return n + xFunction(n - 1);
}
```答案:A