Zoho Interview Question

Find the error in the code