(A) True
(B) False
(C) Both
(D) None
Tag: Introduction to Programming
The new operator returns a void *, accepts a parameter of type size__t.
(A) True
(B) False
(C) Both
(D) None
The new operator returns a Type *, accepts a parameter of type size__t.
(A) True
(B) False
(C) Both
(D) None
The default constructor (parameterless constructor) is called for each element in the array allocated with new?
(A) True
(B) False
(C) Both
(D) None
The default constructor is defined by the C++ compiler automatically for every class that has no default constructor (parameterless constructor) defined already?
(A) True
(B) False
(C) Both
(D) None
If we define an identifier with the statement #define PI 3.1415926 then during the execution of the program the value of PI __.
(A) can not be replaced
(B) None of the given options
(C) Remain constant
(D) can be changed by some operation
When an array of object is created dynamically then there is no way to provide parameterized constructors for array of objects?
(A) True
(B) False
(C) Both
(D) None
Initializing the data members in the definition of the class is __.
(A) syntax error
(B) logical error
(C) not an error
(D) none of the given options