Pergunta de entrevista da empresa Apple

Code questions regarding pointers in C