Question d’entretien chez IBM

Output for given C programming