25. The array for the dynamically allocated array- based sorted list is allocate
ID: 3597033 • Letter: 2
Question
25. The array for the dynamically allocated array- based sorted list is allocated in what part of storage? A) The heap B) The stack C) The cloud D) It depends on the compiler. 26. Each object of a class has its own copy of the class's_ A) instance member variables B) static member functions C) static member variables D) None of the above. E) All of the above. 27. C++ allows you to overload, A) preprocessor directives B) undefined variables C) compiler errors D) operators and functions E) None of the aboveExplanation / Answer
25.
in C++, The heap is memory set aside for dynamic allocation
Hence, dynamic allocation is always on the heap
Answer (A)
26.
Each object of a class has its own copy of the class's __instance member variables__
Answer (A)
27.
C++ allows you to overload ___operators and functitons__
In C++ we can have mutiple definitions of operators for the same name of function and
also in same score, the functions differ by return type and also the argument list
Answer (D)