Programming Language C++ MCQ SET-34

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

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


Question 331-340

Question : 331

   In CPP, the size of the character array should be one larger than the number of characters in the string.

[A].  TRUE
[B].   FALSE

Question : 332

Is it mandatory to invoke/call a constructor for creating an object?

[A].  Yes
[B].   No

Question : 333

Can we assign null to void pointer?

[A].  No
[B].   Yes

Question : 334

We can create objects of the abstract class.

[A].  True
[B].   FALSE

Question : 335

In CPP, it is mandatory and must to initialize const variables.

[A].   True
[B].   False

Question : 336

   class TEST
{
private:
int roll_no;
public:
int age;
char name[20];
private:
int grade;
protected:
char gender[20];
private:

private:
int m1, m2, m3;
};

In general view, is this class definition valid?

[A].  Yes
[B].   No

Question : 337

Private members of the class are accessible only to the members of the same class.

[A].   True
[B].   False

Question : 338

Is it mandatory to invoke/call a constructor for creating an object?

[A].  Yes
[B].   No

Question : 339

Can we reference a pointer

[A].  Yes
[B].   No

Question : 260

Can we have Constructor in Abstract class?

[A].  Yes
[B].   No




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