AutomatedPros interview question

difference between state and props