Classes and Objects MCQ Questions and Answers - 2
Question: 6
Private access specifier is accessible by special function called ____
(A) Void
(B) Inline
(C) Friend
(D) All of these
Ans: C
Friend
Question: 7
_____ member variable are initialized only once when the first object of its class is created.
(A) Inline
(B) Static
(C) Private
(D) Public
Ans: B
Static
Question: 8
One copy of ___ data members of a class are shared by all objects of that class.
(A) Public
(B) Static
(C) Private
(D) Inline
Ans: B
Static
Question: 9
The members defined within the class behave like ____functions.
(A) Inline
(B) Public
(C) Friend
(D) None of these
Ans: A
Inline
Question: 10
:: is a ___
(A) Short circuit AND
(B) Short circuit OR
(C) Not operator
(D) Scope resolution operator
Ans: D
Scope resolution operator
Related Questions
Recent Articles
Steam and Power Generation Quiz Questions & Answers Pdf More
Dc generator questions and answers pdf More
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
April-20-2024
| Meritnotes
Dc generator questions and answers pdf More
April-18-2024
| Meritnotes
DC Generator Questions and Answers Pdf More
April-18-2024
| Meritnotes
Electromagnetic Induction Quiz Questions and Answers More
April-17-2024
| Meritnotes
Basic Electronics Quiz Questions with Answers Pdf More
April-16-2024
| Meritnotes
Wireless Communication MCQ Questions with Answers More
April-15-2024
| Meritnotes
Trending Posts
1000+ Computer Awareness MCQ Quiz with Answers More
Passage Correction- Verbal Ability Questions and Answers Pdf More
OOPS Constructors MCQ Quiz Questions and Answers More
1000+ English Grammar Aptitude Test Questions & Answers pdf More
TNPSC Atomic and Nuclear Physics Multiple Choice Questions More
7000+ Steel Making Quiz Questions and Answers Pdf More
October-10-2022
| Meritnotes
Passage Correction- Verbal Ability Questions and Answers Pdf More
December-31-2019
| Meritnotes
OOPS Constructors MCQ Quiz Questions and Answers More
August-28-2019
| Meritnotes
1000+ English Grammar Aptitude Test Questions & Answers pdf More
November-29-2019
| Meritnotes
TNPSC Atomic and Nuclear Physics Multiple Choice Questions More
April-12-2020
| Meritnotes
7000+ Steel Making Quiz Questions and Answers Pdf More
October-17-2023
| Meritnotes