Question d’entretien chez HCLTech

Is there anything noticeably wrong with this code involving pointers?