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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Is the following sentence true or false? during meiosis, the two alleles for each gene stay together.
Answers: 3
question
Computers and Technology, 22.06.2019 11:30
To hide gridline when you display or print a worksheet
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 3
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
You know the right answer?
For each of the following descriptions of something stored in memory when a program that was coded i...
Questions
Questions on the website: 13722363