Pergunta de entrevista da empresa Tata Consultancy Services

In react- difference between state and prop