Classes And Objects In C Plus Plus - Study Mode

[#116] What does a class in C++ holds?
Correct Answer

(C) both data & functions

[#117] What is the size of the heap?
Correct Answer

(D) Size of the heap memory is limited by the size of the RAM and the swap memory

[#118] Pick the correct statement about string objects in C++.
Correct Answer

(C) String objects have a dynamic size

[#119] Why we use the "dynamic_cast" type conversion?
Correct Answer

(A) result of the type conversion is a valid

[#120] Which is used to return the number of characters in the string?
Correct Answer

(C) both size & length