Marlabs interview question

Basic questions from C programming