Pergunta de entrevista da empresa Intel Corporation

General coding question in C language