Programming Language C++ MCQ SET-15

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

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


Question 141-150

Question : 141

___________ header file is used for manipulators.

[A].   iomanipulator.h
[B].   stdiomanip.h
[C].   stdmanip.h
[D].   iomanip.h


Question : 142

In CPP, dynamic memory allocation is done using ______________ operator.

[A].   calloc()
[B].   malloc()
[C].   allocate
[D].   New


Question : 143

Which of the following is not a casting operator in CPP?

[A].   explicit_cast
[B].   static_cast
[C].   dynamic_cast
[D].   reinterpret_cast


Question : 144

When a virtual function is redefined by the derived class, it is called___________.

[A].   Overloading
[B].   Overriding
[C].   Rewriting
[D].   All of these


Question : 145

If the derived class is struct, then default visibility mode is _______ .

[A].   public
[B].   protected
[C].   private
[D].   struct can’t inherit class


Question : 146

Object based language differs from object oriented language as it does not support features _____ .

1. Encapsulation
2. Inheritance
3. Dynamic Binding
4. Abstraction
5. Polymorphism

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


Question : 147

Which of the following manipulator is used for the representing octal equivalent of a given decimal number?

[A].   oct
[B].   setbase(8)
[C].   tobase(8)
[D].   both [A] and [B]


Question : 148

The code of statements which may cause abnormal termination of the program should be written under_________ block.

[A].   Try
[B].   catch
[C].   Finally
[D].   None of these


Question : 149

Classes in CPP are________ .

[A].   derived data types
[B].   User defined data types
[C].   built-in data types
[D].   All of these


Question : 150

Can we overload functions in C++?

[A].   Yes
[B].   No
[C].   Compilation Error
[D].   Runtime Error





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