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...

Asymmetric encryption can be used for __________ .

A. both confidentiality and authentication B. neither confidentiality nor authentication C. confidentiality D. authentication

Computer Science & Information Technology

A Web ____________________ is an object, such as tiny graphic, embedded on a Web page that sends a cookie to third-party Web sites.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

________ are boxes with dotted borders on slides that hold text or objects such as charts

Fill in the blank(s) with correct word

Computer Science & Information Technology

It is highly unusual to revise a project goal during the course of a project.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology