Returns the first element from the list stored in the location LOC and sets LOC to the cdr of the previous value.