Einfochips interview question

Mostly on simple C programming