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))

a.

Person :gender female :personality nice

b.

Person :gender

c.

gender:Female

d.

None of the mentioned

Answer: (a).Person :gender female :personality 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?