adplus-dvertising
frame-decoration

Question

What is the output of the given statement?
span class="sy0"> * (defun square (list-of-numbers) (mapcar #'(lambda (n) (*n n)) list-of-numbers))
* (square '(1 2 3))

a.

9

b.

1

c.

3

d.

1 4 9

Answer: (d).1 4 9

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the given statement?