Question

Usually, a _____ contains primitive data types, and a _____ contains non-primitive data types.

(1 point)
Responses

heap; stack

heap; stack

stack; heap

stack; heap

RAM; ROM

RAM; ROM

ROM; RAM

Answers

There are no human answers yet.
Answered by GPT-4o mini
The correct response is:

**stack; heap**

In programming, the stack is used for storing primitive data types (like integers and booleans), while the heap is used for storing non-primitive data types (like objects and arrays).

Related Questions