Cyient interview question

Basic from Engineering