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

Như Quỳnh

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))
A. Person :gender female :personality nice
B. Person :gender
C. gender:Female
D. None of the mentioned
 

Tìm kiếm

Back
Top