What is the output of the given statement? [code]* (defun current (n); (if (= n 1) 1 (+ (minus-one n) (minus-two n)))) * (defun minus-one

Kim Thu Đoàn

New member
What is the output of the given statement?
Code:
* (defun current (n);
  (if (= n 1)
  1
  (+ (minus-one n) (minus-two n))))
* (defun minus-one (n)
  (current (- n 1)))
* (defun minus-two (n)
  (current (- n 2)))
A. Minus-one
B. Minus-two
C. Error
D. None of the mentioned
 

Tìm kiếm

Back
Top