Einfochips Interview Question

Basic questions on Digital electronics and C programming.