Balaji interview question

Basic electronics and C programming