type list = record next:↑ list; val: integer endThe following function returns a list in which a2i and a2i-1, 1 ≤ i ≤ [n/2] are interchanged. Complete the function by filling the boxes. Write the line number and the content of the box in your answer sheet.
This question is part of this quiz :
GATE CS 1997