Consider the following code.int fact(int num){
  if (num == 0)     return 1;  else     return num * fact(num - 1);}The function fact is an example of a(n) ____________________ recursive function.

Fill in the blank(s) with the appropriate word(s).

tail

Computer Science & Information Technology

You might also like to view...

When should a program explicitly use the this reference?

a) accessing a private variable b) accessing a public variable c) accessing a local variable d) accessing a field that is shadowed by a local variable

Computer Science & Information Technology

A(n) ____ comparison is based on the integer Unicode values of the characters.

A. integer B. symbol C. lexicographical D. character

Computer Science & Information Technology