Pergunta de entrevista da empresa Amadeus

What is the difference between memory pointer and stack variables