Pergunta de entrevista da empresa Accenture

Class and struct: where are they stored? Is it in stack or heap?