What is the output of the given statement? [code]* (defstruct person (gender nil) (personality 'nice)) * (setf person-instance-1 (make-person))

Man Ly

New member
What is the output of the given statement?
Code:
* (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
 

Tìm kiếm

Back
Top