(A) True
(B) False
(C) Both
(D) None
Tag: Intro to Programming
When ever dynamic memory allocation is made in C/C++, it is freed__.
(A) Explicitly
(B) Implicitly
(C) Both explicitly and implicitly
(D) None of the given options
It is possible to define a class within another class?
(A) True
(B) False
(C) Both
(D) None
The template functions do NOT promote the code reuse?
(A) True
(B) False
(C) Both
(D) None
In C++, we can have structures or classes defined inside classes. Classes defined within other classes are called __ classes.
(A) nested
(B) Child
(C) Parent
(D) Branch
Initializer list is used to initialize the inner objects at the construction time?
(A) True
(B) False
(C) Both
(D) None
The order of destruction of an object is equle to this construction order, where the outer object is destroyed first before the inner data members?
(A) True
(B) False
(C) Both
(D) None
The inner data members of the object are constructed and then the object itself?
(A) True
(B) False
(C) Both
(D) None