(setq y x)
(set y = 'x')
(setq y = 'x')
(setq y 'x') E. None of the above
Answer is Right!
Answer is Wrong!
The correct answer is: A. (setq y x)
The function (setq y x)
assigns the symbol x
to the variable y
.
The function (set y = 'x)
assigns the string 'x
to the variable y
.
The function (setq y = 'x')
is not valid Lisp syntax.
The function None of the above
is not a valid Lisp function.