Cognizant interview question

variable hoisting