Pregunta de entrevista de Infosys

Write a simple v code and explain it.