N Nam Lê Member Sep 21, 2021 #1 What is the output of the following LISP program? Code: (setf cricket '(bat ball racquet)) (write (delete 'racquet cricket)) A. bat ball racquet B. bat ball C. racquet bat ball D. racquet
What is the output of the following LISP program? Code: (setf cricket '(bat ball racquet)) (write (delete 'racquet cricket)) A. bat ball racquet B. bat ball C. racquet bat ball D. racquet
M Man Ly New member Sep 21, 2021 #2 Answer: b Explanation: Delete is given racquet as an argument to delete it from list cricket. So, it will delete racquet from the list cricket to form a new list: bat ball. Output: BAT BALL Upvote 0 Downvote
Answer: b Explanation: Delete is given racquet as an argument to delete it from list cricket. So, it will delete racquet from the list cricket to form a new list: bat ball. Output: BAT BALL