Suppose that a recursive function with integer parameter n has a base case of 0, and for each non-base case, the function makes a recursive call with argument n+1. If the function is initially called with an actual argument of n = 3, the function call will
A) cause an infinite chain of recursive calls.
B) return after a chain of 2 recursive calls.
C) return after a chain of 3 recursive calls.
D) return after a chain of 4 recursive calls.
E) None of the above
A) cause an infinite chain of recursive calls.
Computer Science & Information Technology
You might also like to view...
The file format of a USB drive is usually NTFS for security reasons
Indicate whether the statement is true or false.
Computer Science & Information Technology
Which editing tool would you use to enlarge an area of an image?
A) Crop B) Sharpen C) Magnify D) Zoom
Computer Science & Information Technology