IBM interview question

asked some basic c programming questions