rev(L,M) :- aux(L,M,[]). aux([],Acc,Acc). aux([X|L],M,Acc) :- aux(L,M,[X|Acc]).What is the result produced by the query ?- aux([1,2],M,[3,4]). ? (only one answer, please).
append([],L,L). append([X|L],K,[X|M]) :- append(L,K,M).For each of the following queries, please indicate all the answers that are returned (assuming that we interactively keep asking for more answers). If no answers are returned, write "no". If the query generates an error, write "error".