Question d’entretien chez HP Inc.

What is the difference between a stack and heap?