CAE interview question

cpp programming questions, correct this code, pointers