Vidyalelo
Computer Science · Q82

Artificial Intelligence

Engineering and GATE · Computer Science · question 82

Q82

In LISP, which of the following function assigns the value 10 to the symbol a?

A.
(setq a 10)
Answer
B.
(a = b) where b = 10
C.
(a = 10) (d) (setq 10 a)
D.
None of the above
E.
None of the above

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board