(A) True
(B) False
(C) Both
(D) None
Tag: Introduction to Programming
A copy constructor?
(A) takes no arguments
(B) copies the data of any two constructors in that class
(C) creates an object initialized with the same data as an existing object
(D) creates a new object that later may be assigned the data of an existing object
For operator >>, the second parameter must also be passed by reference?
(A) True
(B) False
(C) Both
(D) None
Stream insertion ( << ) and extraction operators ( >> ) are always implemented as __ functions.
(A) Member
(B) non-member
(C) Inside
(D) Out Side
By overloading the array operator ( [] ), one can implement mechanism to check for array bound?
(A) True
(B) False
(C) Both
(D) None
new and delete can overload in c++?
(A) True
(B) False
(C) Both
(D) None
By overloading new and delete operators, only allocation and deallocation part can be overridden?
(A) True
(B) False
(C) Both
(D) None
The delete operator returns nothing (void) and accepts a pointer of type * to the memory block?
(A) True
(B) False
(C) Both
(D) None