Jasmin Infotech interview question

C programming question and basic electronics