Computers and Technology
Computers and Technology, 03.04.2021 01:00, asra44

For each of the following descriptions of something stored in memory when a program that was coded in C is running. State whether the memory is part of static memory, an activation record in the stack, or the heap (i. e., dynamic memory). For those entities that are stored in an activation record, state whether the memory resides in the first, second, or third section of the activation record. For some of these parts, you may have to speculate about the most likely way that a provided class is implemented. a. A bool that is a public data member of an object that is a parameter of a constructor.
b. A char that is stored in a C++ string object containing many characters, if the string object is a parameter of a regular function.
c. A char that is stored in a C++ string object containing many characters, if the string object is a local variable of a private data member of a class.
d. An int that is a temporary variable created by the compiler that is local to a protected member function of a class.
e. The value of a register that has been backed up when a regular function has been called and will need to be restored when the function ends.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:30, araminaara691
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
image
Computers and Technology, 22.06.2019 11:00, paigesyring
How does a policy manual an organization? a. it boost productivity. b. it create awareness in employees about the organization’s values. c. it employees achieve targets. d. it safeguards the organization from liabilities.
Answers: 1
image
Computers and Technology, 23.06.2019 08:00, ionmjnm3041
The managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an .
Answers: 3
image
Computers and Technology, 23.06.2019 13:30, powellmj9216
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
Do you know the correct answer?
For each of the following descriptions of something stored in memory when a program that was coded i...

Questions in other subjects:

Konu
Mathematics, 11.12.2020 08:10
Konu
Mathematics, 11.12.2020 08:10