TronicsZone interview question

Debug the following code and point out errors