C Plus Plus Miscellaneous - Study Mode
[#326] What is the main purpose of the constructor?
Correct Answer
(C) Establish the class invariant
[#327] Which is used to solve the memory management problem in c++?
Correct Answer
(A) smart pointers
[#328] What type of comments does c++ support?
Correct Answer
(C) single line and multi-line
[#329] What do vectors represent?
Correct Answer
(B) Dynamic arrays
[#330] Which function is used to get the absolute of a complex number?
Correct Answer
(D) abs()