Question

Assuming the following pseudocode for the Fibonacci series, what is the value of fibonacci(5)?
fibonacci(0) = 0
fibonacci(1) = 1
fibonacci(n) = fibonacci(n - 1) + fibonacci(n - 2)
(a) 8
(b) 1
(c) 3
(d) 5

Answer

This answer is hidden. It contains 3 characters.