Programming Language C++ MCQ SET-14

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

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


Question 131-140

Question : 131

An operator function is created using _____________ keyword.

[A].   iterator
[B].   allocator
[C].   constructor
[D].   operator


Question : 132

Which of the following are member dereferencing operators in CPP?

1. *
2. ::
3. ->*
4. ::*
5. ->

[A].   Only 1, 3, 4
[B].   Only 1 and 5
[C].   Only 3 and 4
[D].   Only 3,4,5


Question : 133

Using friend operator function, following perfect set of operators may not be overloaded.

[A].   = , ( ) , [ ] , →
[B].   <<, = = , [ ] , >>
[C].   ?, = , ( ) , ++
[D].   None of these


Question : 134

Which of the followings are true about Virtual functions?

[A].   They must be non-static member function of the class
[B].   They cannot be friends
[C].   Constructor Functions cannot be virtual
[D].   All of these


Question : 135

In Multipath inheritance, in order to remove duplicate set of records in child class, we ___________ .

[A].   Write Virtual function in parent classes
[B].   Write virtual functions is base class
[C].   Make base class as virtual base class
[D].   All of these


Question : 136

hich of the followings is/are not keyword/s in CPP?

1. asm
2. boolean
3. mutable
4. export
5. constant_cast

[A].   Only 5
[B].   Only 1 and 4
[C].   Only 1,2 and 5
[D].   Only 2 and 5


Question : 137

If base class has constructor with arguments, then it is ________________ for the derived class to have constructor and pass the arguments to base class constructor.

[A].   Optional
[B].   Mandatory
[C].   Compiler dependent
[D].   Error


Question : 138

When a child class inherits traits from more than one parent class, this type of inheritance is called _______________ inheritance.

[A].   Hierarchical
[B].   Hybrid
[C].   Multilevel
[D].   Multiple


Question : 139

__________________ is the OOP feature and mechanism that binds together code and the data it manipulates, and keep both safe from outside world.

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


Question : 140

How many times AEM.com is printed?
int main() { int i=0; lbl: cout<<"AEM.com"; I++; if(i<5) { goto lbl; } return 0; }

[A].   Error
[B].   5 times
[C].   4 times
[D].   6 times





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