What is the output of the following statement? [code]* (setf whole-list '(monday tuesday wednesday thursday friday)) * (defun both-ends

What is the output of the following statement?
Code:
* (setf whole-list '(monday tuesday wednesday thursday friday))
* (defun both-ends ()(setf whole-list (cons (first whole-list) (last whole-list))))
A. Monday
B. BOTH-ENDS
C. Friday Monday
D. Monday Friday
 

Tìm kiếm

Back
Top