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
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
Top 100+ MS Powerpoint MCQ Questions and Answers More
10000+ General English Objective Type Questions and Answers More
1000+ World History General Knowledge Questions and Answers More
1000+ Magnetism & Electromagnetism MCQ Questions & Answers More
TNPSC Group 1, 2, 4 Previous Year Question Papers with Answers More