iOSys interview question

Very Simple and Basic programming Questions.