Programming Language C++ MCQ SET-22

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

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


Question 211-220

Question : 211

_________________are used for generic programming.

[A].   Inheritance
[B].   Virtual Functions
[C].   Templates
[D].   None of these


Question : 212

Which of the following is not used to seek a file pointer?

[A].   os::cur
[B].   ios::set
[C].   ios::end
[D].   ios::beg


Question : 213

A virtual function that has no definition within the base class is called____________.

[A].   Pure virtual function
[B].   Pure static function
[C].   Pure Const function
[D].   Friend function


Question : 214

What is size of int data type in cpp?

[A].   2 Bytes
[B].   4 Bytes
[C].   1 Byte
[D].   Depends on Compiler


Question : 215

During dynamic memory allocation in CPP, new operator returns _________ value if memory allocation is unsuccessful.

[A].   False
[B].   NULL
[C].   Zero
[D].   None of these


Question : 216

Constant variables can be created in CPP by using ________ .

[A].   enum
[B].   const
[C].   #define
[D].   All of these


Question : 217

Default value of static variable is_____ .

[A].   0
[B].   1
[C].   Garbage value
[D].   Compiler dependent


Question : 218

Object oriented programming employs_________ programming approach.

[A].   top-down
[B].   procedural
[C].   bottom-up
[D].   all of these.


0

 ________ are used to format the data display in CPP.

[A].   Iterators
[B].   Punctuators
[C].   Manipulators
[D].   Allocators


Question : 220

In CPP, cin and cout are the predefined stream __________ .

[A].   Operator
[B].   Functions
[C].   Objects
[D].   Data types





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