Đăng Khánh
New member
What is the output of the given statement?
A. Count-atoms
B. 4
C. Count
D. None of the mentioned
Code:
* (defun count-atoms (expression);
(if (atom expression)
1
(+ (count-atoms (first expression))
(count-atoms (rest expression)))))
* (count-atoms '((this is)))
B. 4
C. Count
D. None of the mentioned