Programming Language C++ MCQ SET-9

C++ Progamming Language MCQs Questions and Answers | SET-9

Important C++ Progamming Language Solved Questions and Answers

Welcome to our exclusive collections of C++ Progamming Language (MCQ) Questions and with answers. Important C++ Progamming Language online MCQs practice test sets questions with answers for interviews, competitive exams. These multiple choice questions(MCQs) on C++ Progamming Language are suitable for both aspirant freshers and experienced who are preparing for competitive exam. In these MCQs sets we are going to share most important questions related to C++ Progamming Language. These questions are very helpful for those candidates ans aspirants who are preparing for the various government and non government exam as well as in interview.

C++ Progamming Language MCQs Questions and Answers | SET-9


Question 81-90

Question : 81

During a class inheritance in CPP, if the visibility mode or mode of derivation is not provided, then by default visibility mode is ___________.

[A].   public
[B].   protected
[C].   private
[D].   Friend


Question : 82

If we have object from fstream class, then what is the default mode of opening the file

[A].   ios::in|ios::out
[B].   ios::in|ios::out|ios::trunc
[C].   ios::in|ios::trunc
[D].   Default mode depends on compiler


Question : 83

A Constructor that does not have any parameters is called____________ Constructor.

[A].   Custom
[B].   Dynamic
[C].   Static
[D].   Default


Question : 84

What is size of void in C++?

[A].   2 Bytes
[B].   4 Bytes
[C].   Undefined
[D].   0


Question : 85

__________ is return type of is_open() function.

[A].   int
[B].   bool
[C].   float
[D].   char *


Question : 86

The derivation of Child class from Base class is indicated by ____ symbol.

[A].   ::
[B].   :
[C].   ;
[D].   |


Question : 87

C++ is superset of which langauge?

[A].   BASIC
[B].   VB
[C].   PASCAL
[D].   C


Question : 88

Only functions of the class can access the data of the class and they(functions) provides the interface between data, objects and the program. This kind isolation of the data from direct access by the program is called _______________ .

[A].   Data Abstraction
[B].   Data Hiding
[C].   Data Binding
[D].   Data Encapsulation


Question : 89

What is size of void in C++?

[A].   2 Bytes
[B].   4 Bytes
[C].   Undefined
[D].   0


Question : 90

What is the output of below program?
int main() { int a = 10; cout<<a++; return 0; }

[A].   10
[B].   11
[C].   12
[D].   Not defined





To Read Next Set
Click on below links



Please Read These Useful Post Also
कृपया इन्हें भी पढ़ें


MCQs Practice Sets for Sure Success in all competitive exams



If you are planning to qualify teacher eligibility test, TET, CTET, all India state TET, JEE Main, NEET UG, AIPMT, AIIMS, AFMC, DPMT, BHU, IP MBBS, JIPMER, State PMT, MHT , you can practice these question papers online. We have taken all the necessary care to provide you with genuine question papers and the answers from reliable sources. Hope our labors server student’s community in better way.

Visit  http://examsuccessmaster.blogspot.com/  for a complete list of exam quizzes e.g. Child development, Psychlogy, Inclusive Education, Social Studies, physics || general science MCQ, Himachal pradesh Gk, chemistry, physics, Mathematics, math, General science, computer basics, old question papers, environmental studies,Geography, Polity Social Issue, Social Science complete study material,aptitude tests, Practice sets,HPTET,Engineering Interview, Civil Engineering, Mechanical Engineering, Electrical Engineering, most frequently asked,tests,HPTET Questions and Answers, Engineering Multiple choice, MCQ Questions on various subjects and topics and much more.

No comments:

Post a Comment