(A) True
(B) False
(C) Both
(D) None
Category: Introduction to Programming Mcqs
Introduction to Programming Mcqs for Screening tests, Interviews, Viva and Other competitive exams. Programming Mcqs section will help users to prepare mcqs of programming languages for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their computer programming portion from here.
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