Programming Language C++ MCQ SET-10

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

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


Question 91-100

Question : 91

Which operator has highest precedence?

[A].   ()
[B].   =
[C].   *
[D].   ++


Question : 92

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


Question : 93

What should be the output of below program?
int main() { int a = 1; switch(a) { case 1: cout«"One"; case 2: cout«"Two"; case 3: cout«"Three"; default: cout«"Default"; }

[A].   One
[B].   Compilation Error
[C].   Default
[D].   OneTwoThree


Question : 94

If we have object from ofstream class, then default mode of opening the file is _____ .

[A].   ios::in
[B].   ios::out
[C].   ios::in|ios::trunc
[D].   ios::out|ios::trunk


Question : 95

What is Self Referencial Structure?

[A].   Structure which contains pointers
[B].   Structure which has pointer to itself
[C].   Structure which contains another structure
[D].   None of these


Question : 96

_______________ is a member function that is declared within a base class and redefined by derived class.

[A].   Virtual function
[B].   static function
[C].   friend function
[D].   const member function


Question : 97

Which operator has more precedence among the following?
*
++
+
-

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


Question : 98

Syntax for Pure Virtual Function is ______________ .

[A].   virtual void show()==0
[B].   void virtual show()==0
[C].   virtual void show()=0
[D].   void virtual show()=0


Question : 99

Which one is more faster?
[A]. - #include <iostream.h>
[B] - #include "iostream.h"

[A].   - #include <iostream.h>
[B].   - #include "iostream.h"
[C].   Both has are same
[D].   Depends on compiler


Question : 100

What should be the output of below program?
int main() { cout«"AEM";;;;; return 0; }

[A].   Compilation Error
[B].   Runtime Error
[C].   AEM
[D].   AEM;;;;





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