Programming Language C++ MCQ SET-21

C++ Progamming Langauage MCQs Questions and Answers | SET-21

Important C++ Progamming Langauage Solved Questions and Answers

Welcome to our exclusive collections of C++ Progamming Langauage (MCQ) Questions and with answers. Important C++ Progamming Langauage online MCQs practice test sets questions with answers for interviews, competitive exams. These multiple choice questions(MCQs) on C++ Progamming Langauage 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 Langauage. 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 Langauage MCQs Questions and Answers | SET-21


Question 201-210

Question : 201

Which one is suitable syntax for function template?

[A].   template< class T> return_type Function_Name(parameters)
[B].   template< typename T> return_type Function_Name(parameters)
[C].   Both [A] and [B]
[D].   None of these


Question : 202

If inner catch handler is not able to handle the exception then__________ .

[A].   Compiler will look for outer try handler
[B].   Program terminates abnormally
[C].   Compiler will check for appropriate catch handler of outer try block
[D].   None of these


Question : 203

Generic catch handler is represented by ______________ .

[A].   catch(..,)
[B].   catch(---)
[C].   catch(…)
[D].   catch( void x)


Question : 204

While overloading binary operators using member function, it requires ___ argument/s.

[A].   Zero
[B].   One
[C].   Two
[D].   Three


Question : 205

If inner catch handler is not able to handle the exception then__________ .

[A].   Compiler will look for outer try handler
[B].   Program terminates abnormally
[C].   Compiler will check for appropriate catch handler of outer try block
[D].   None of these


Question : 206

If abstract class is inherited by derived class, then_______________ .

[A].   Derived class should provide definition for all the pure virtual functions
[B].   Derived class also become abstract if fails to implement pure virtual functions
[C].   Objects of derived class can’t be created if it fails to implement pure virtual functions
[D].   All of these


Question : 207

The explicit keyword is an optional decoration for the constructors that takes exactly_____argument.

[A].   No argument
[B].   Two
[C].   Three
[D].   One


Question : 208

If a class contains pure virtual function, then it is termed as____________________ .

[A].   Virtual class
[B].   Sealed class
[C].   Pure Local class
[D].   Abstract Class


Question : 209

A class can contain objects of other classes and this phenomenon is called_________ .

[A].   Relationship
[B].   Object Association
[C].   Containership
[D].   None of these


Question : 210

Which operator can not be overloaded?

[A].   +
[B].   -
[C].   *
[D].   ::





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