Programming Language C++ MCQ SET-11

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

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-11


Question 101-110

Question : 101

Which operator has highest precedence in * / % ?

[A].   *
[B].   /
[C].   %
[D].   all have same precedence


Question : 102

When a base class is privately inherited by the derived class, then_____________ .

[A].   protected members of the base class become private members of derived class
[B].   public members of the base class become private members of derived class
[C].   both [A] and [B]
[D].   only [B]


Question : 103

If a class(has one virtual function) has 5 Objects then how many Vtable it will have?

[A].   5
[B].   1
[C].   0
[D].   Depends on compiler


Question : 104

Logical expressions produce ____________ type results.

[A].   explicit
[B].   garbage
[C].   bool
[D].   static


Question : 105

What is dangling pointer?

[A].   pointer pointing to NULL
[B].   Pointer pointing to memory location which has been freed
[C].   Pointer which is pointing to new location
[D].   None of these


Question : 106

Can we have pure Virtual Destructor?

[A].   Yes
[B].   No
[C].   Depends on compiler
[D].   May Be


Question : 107

What is the difference between protected and private access specifiers in inheritance?

[A].   private member is not inheritable and not accessible in derived class.
[B].   protected member is inheritable and also accessible in derived class.
[C].   Both are inheritable but private is accessible in the derived class.
[D].   Both are inheritable but protected is not accessible in the derived class.


Question : 108

Which data structure is used by Map?

[A].   AVL Tree
[B].   Binary Tree
[C].   Balance Binary Tree
[D].   None of these


Question : 109

In nested try blocks, if both inner and outer catch handlers are not able to handle the exception, then ______________ .

[A].   Compiler executes only executable statements of main().
[B].   Compiler issues compile time errors about it.
[C].   Program will be executed without any interrupt.
[D].   Program will be terminated abnormally.


Question : 110

What is Singleton class?

[A].   We can create n number of object
[B].   We can create max 256 objects
[C].   We can create 1 object
[D].   We cant create object





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