these expressions could replace a call to this function?

Consider the recursive function,
```
int rec(int n)
{
if (1 ==n )
return 1;
else
return rec(n-1) + 2*n - 1;
}
```

a) n 2 - 1
b) n 2 + 1
c) n 2
d) (n + 1) 2
e) (n - 1) 2

c) n 2

Computer Science & Information Technology

You might also like to view...

The unique identification number assigned to your computer when you connect to the Internet is known as all of the following EXCEPT ________

A) path B) IP address C) dotted quad D) dotted decimal

Computer Science & Information Technology

A connectivity port which transfers data at speeds up to 10,000 Mbps is ________

Fill in the blank(s) with correct word

Computer Science & Information Technology