[amp_mcq option1=”(constant )” option2=”(defconstant )” option3=”(eva )” option4=”(eva ) E. None of the above” correct=”option2″]
The correct answer is: B. (defconstant )
The function (defconstant ) defines a constant with the name and the value . The value of the constant is stored in the symbol table and can be accessed by other parts of the program.
The function (constant ) is not a valid function in LISP. The function (eva ) evaluates the object and assigns the result to the constant . However, this is not what the question is asking for. The question is asking for the function that evaluates the object and assigns the value to the unevaluated constant . The only function that does this is (defconstant ).
The function (eva ) is not a valid function in LISP.