adplus-dvertising
frame-decoration

Question

What is the output of the given statement?
span class="sy0"> * (defstruct person (gender nil) (personality 'nice))
* (setf person-instance-1 (make-person))
* (setf person-instance-2 (make-person :gender 'female))
* (person-personality person-instance-2)

a.

Female

b.

Nice

c.

Person

d.

Both Female & Nice

Answer: (b).Nice

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?