In LISP, the addition 3 + 2 is entered as

26 views
  • 3 + 2
  • 3 add 2
  • 3 + 2 =
  • (+ 3 2) (Correct Answer)

Explanation

The addition 3 + 2 is entered as (+ 3 2) in LISP.

LISP is a programming language that uses prefix notation for arithmetic operations. In prefix notation, the operator comes before the operands. So in the case of the addition of 3 + 2, the "+" operator comes before the operands 3 and 2. Therefore, the expression would be written as (+ 3 2) in LISP.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs