ExamVeda
Login
Home
Artificial Intelligence
?

In LISP, the addition 3 + 2 is entered as

Answer & Solution
Correct Answer: Option D
In LISP, mathematical operations are typically written in prefix notation, where the operator precedes its operands within parentheses.
So, the addition of 3 and 2 is represented as (+ 3 2).
Options A, B, and C do not follow the syntax of LISP for arithmetic operations.
Therefore, the correct LISP notation for the addition 3 + 2 is Option D: (+ 3 2).
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
AL MaMun
AL MaMun 5 years ago
5 hobe