Pregunta de entrevista de Philips

Threads related question was asked