Which of the following is the correct recursive step for the recursive function power (m, n) which raises m to the power n?

a) if (n <= 1)
return m;
b) return m * power (m - 1, n);
c) return n * power (m, n - 1);
d) return power (m, n-1);

c) return n * power (m, n - 1);

Computer Science & Information Technology

You might also like to view...

Which of the following is not true about Facebook apps?

A) Apps are written in programming languages, which allow a programmer to teach the computer how to act. B) One reason companies might create apps is for viral marketing. C) Users who create apps and want to make money from them can use the Facebook Credits program, a method of payment on Facebook. D) Applications are limited to Facebook and cell phones.

Computer Science & Information Technology

When you open a table, it displays in what view?

A) Datasheet B) Table Preview C) Design D) Database

Computer Science & Information Technology