C++ Classes Quiz - 1
Question: 1
A class belongs to which of the following data types?
(A) Array Type
(B) Derived Type
(C) Built-in Type
(D) User Defined Type
Ans: D
User Defined Type
Question: 2
Every class declaration is terminated by ____
(A) ,(comma)
(B) .(dot)
(C) ; (semi colon)
(D) :: (double colon)
Ans: C
; (semi colon)
Question: 3
A member function calling another function directly is called as ____
(A) Nesting functions
(B) Recursive functions
(C) Inline functions
(D) Friend functions
Ans: A
Nesting functions
Question: 4
Class access specifiers are also known as ____
(A) Specifications
(B) Class depth
(C) Visibility labels
(D) None of these
Ans: C
Visibility labels
Question: 5
____ are the functions that perform specific task in a class.
(A) Data functions
(B) Concrete functions
(C) Member functions
(D) Data members
Ans: C
Member functions
7000+ Computer Networking MCQ Questions and Answers Pdf More
7000+ Microsoft Office Practical Questions and Answers Pdf More
7000+ Microsoft Office MCQ Questions and Answers Pdf More
7000+ Microsoft Office Quiz Questions and Answers Pdf More
7000+ Cyber Security Quiz Questions and Answers Pdf More
100+ TNPSC Indian Economy Mock Test More
Top 1000+ Computer Science Interview Questions and Answers More
1000+ Reasoning Puzzle Questions and Answers for Bank Exams More
1000+ GK Questions and Answers 2020-2021 More
Top 1000+ Synonyms and Antonyms Questions for Bank Exams More