Where are data variables stored when a program is running?

What will be an ideal response?

Data variables are stored on either the stack or the heap when a program is running. In this chapter we introduce the concept of the stack. The heap is introduced with global variables. Locally declared variables are stored on the stack, globals are stored on the heap.

Computer Science & Information Technology

You might also like to view...

A thesaurus provides:

A) Words with similar meanings B) Reading level of the document C) Correct word usage

Computer Science & Information Technology

The contents of two or more text boxes can be linked

Indicate whether the statement is true or false

Computer Science & Information Technology