How would I convert this iterative function to recursive? (link2 h) is the list.
Code:void printlist (link2 h) { link2 head = h; link move; int x; move = head->front; while (move != NULL) { x = move->dat; printf("%d ", x); move = move->next; } printf("\n"); }