(A) Static class
(B) Local class
(C) Global class
(D) Nested class
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.
Exception always occurred at?
(A) Compile-time
(B) Run-time
(C) Syntax error
(D) All of the above
Which of the following can’t be a friend?
(A) Function
(B) Class
(C) Object
(D) None of the above
How many instances of an abstract class can be created?
(A) 0
(B) 2
(C) 3
(D) 5
Function overriding is the example of?
(A) Compile time polymorphism
(B) Run time polymorphism
(C) Both of the above
(D) None of the above
Which of the following is not a type of constructor?
(A) Friend constructor
(B) Copy constructor
(C) Default constructor
(D) Parameterized constructor
A class which contain at least one pure virtual function?
(A) Friend class
(B) Virtual class
(C) Abstract class
(D) Base class
Which symbol is used to create a multiple inheritance?
(A) Dot
(B) Comma
(C) Colon
(D) Dollar Sign