Question d’entretien chez Infosys

Explain stack, queue, graph. Explain output for following Cpp code.