What should be added in place of “/*ADD A STATEMENT HERE*/”, so that the function correctly reverses a linked list.(A) *head_ref = prev;(B) *head_ref = current;(C) *head_ref = next;(D) *head_ref = NULL;

Answer:(A)Explanation: *head_ref = prev;

At the end of while loop, the prev pointer points to the last node of original linked list. We need to change *head_ref so that the head pointer now starts pointing to the last node.