The correct answer is: stack; heap.
In programming, a stack typically contains primitive data types (like integers, characters, etc.), which are stored in a fixed-size location. The heap, on the other hand, is used for non-primitive data types (such as objects, arrays, etc.) that can vary in size and require dynamic memory allocation.