Adobe interview question

basic oops and c output questions