Capgemini Engineering Interview Question

difference between declarative and functional programming