Zoho interview question

Find the error in the code