What is (rest (rest '((a b) (c d)))) ?

  • A: (() (c d))
  • B: (c d)
  • C: ((c d))
  • D: null
  • E: error

    Answer: D

    (rest (rest ... )) moves the opening paren to the right past 2 things; in this case, that leaves () or null.

    Page-10    Prev    Next    Page+10