KPIT Technologies interview question

basics matlab and c questions