Former President Barack Obama sat next to President-elect Donald Trump at former President Jimmy Carter's funeral, appearing friendly and engaged in conversation.