HCLTech interview question

Write 2 basic c programs Electronics' related questions