Cognizant interview question

Diff btwn useeffect and usecallback