Programming Language C++ MCQ SET-2

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

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


Question 11-20

Question : 11

When can we have two classes with same name?

[A].   We cant have
[B].   In different work space
[C].   Can have but in different file
[D].   We can have in any scenario


Question : 12

What is size of void in bytes?

[A].   1
[B].   2
[C].   4
[D].   0


Question : 13

Are both of the preprocessor directives solving same purpose? #include #include "iostream.h"

[A].   Yes
[B].   No
[C].   Depends on compiler
[D].   None of these


Question : 14

If a program uses Inline Function, then the function is expanded inline at ___________.

[A].   Compile time
[B].   Run time
[C].   Both a and b
[D].   None of these


Question : 15

What is the latest version of C++?

[A].   C++ 03
[B].   C++ 11
[C].   C++ 14
[D].   C++ 17


Question : 16

Which of the following is CPP style type-casting?

[A].   per = total/(float)m
[B].   per = total/float(m)
[C].   per = (float)total/m
[D].   None of these


Question : 17

Which of the following is Right Shift operator?

[A].   <
[B].   <<
[C].   >
[D].   >>


Question : 18

By default, members of the class are ____________ in nature.

[A].   protected
[B].   private
[C].   public
[D].   static


Question : 19

ISO/IEC 14882:1998 represents which version of C++?

[A].   C++ 03
[B].   C++ 98
[C].   C++ 0x
[D].   C++ 03


Question : 20

Which of the following is the least safe type casting in C++?

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





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