1. With a class that is based on a static array, the user tries to put in one mo
ID: 3856573 • Letter: 1
Question
1. With a class that is based on a static array, the user tries to put in one more item than the capacity of the array A. the class simply accommodates the extra item. B. a resize function will be called C. the object should refuse to accept it. D. the capacity of the array will increase. 2. Variables can be stored in memory in three ways, the ways that are sometimes called the "storage classes," and these are [x],[y], and [z]. a. static, automatic and dynamic b. pointers, arrays and regular c. destructor, copy constructor and assignment operator d. active, passive and interactive
Explanation / Answer
Answer: C
the object should refuse to accept it.
1.array are of fixed length once we declare a static array the length of the array further will not change
if the user tries to put in one more item than the capacity of the array then the object should refuse to accept it.
2. A
static, automatic and dynamic
a compiler identify three storage classes that is
static and automatic and external.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.