Google interview question

C problems, arrays and matrices manipulation, pointer concepts