(A) Abstract class
(B) Friend class
(C) Relationship
(D) Containership
Category: C++ Programming Mcqs
C++ Programming Mcqs for Screening tests, Interviews, Viva and Other competitive exams. C++ Programming Mcqs section will help users to prepare mcqs of C++ Programming 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 C++ programming portion from here.
Which is more memory efficient??
(A) union
(B) structure
(C) Both A & B
(D) None of the above
A constructor through which we can pass object reference called?
(A) Parameterized constructor
(B) Default constructor
(C) Copy constructor
(D) None of the above
Break can be used inside?
(A) For loop
(B) Switch statement
(C) Both A & B
(D) None of the above
By default the members of structure are?
(A) protected
(B) private
(C) public
(D) function
Which can be used in template?
(A) type_name
(B) class
(C) function
(D) Both A & B
Which function name is same as class name?
(A) Destructor
(B) Constructor
(C) Both A & B
(D) None of the above
Polymorphism is the example of?
(A) Run time
(B) Compile time
(C) Both A & B
(D) None of the above