Pregunta de entrevista de Broadcom

Basic programming language questions.