- Home
- Quantitative
- English
- Reasoning
- IT Officer
- Programming
-
Computer
- Computer Awareness Questions Answers - Set 1
- Computer Awareness Questions Answers - Set 2
- Important Abbreviations Computer Awareness Questions Answers
- Important File Extensions Questions Answers
- Computer System Architecture Questions Answers
- MS Office Questions Answers
- MS Excel Questions Answers
- MS PowerPoint Questions Answers
-
GK
- Geography Questions Answers
- Indian History Questions Answers
- World History Questions Answers
- Indian Economy Questions Answers
- Indian Polity and Constitution
- Physics Questions Answers
- Chemistry Questions Answers
- Biology Questions Answers
- First In India
- First In World
- Longest and Largest
- Books and Authors
- Important Days of year
- Countries and Capitals
- Inventions and Inventors
-
Current Affairs
- Current Affairs
- Current Affairs 2018
- Current Affairs 2018 - 2019 PDF
- Current Affairs August 2019
- Current Affairs July 2019
- Current Affairs June 2019
- Current Affairs May 2019
- Current Affairs April 2019
- Current Affairs March 2019
- Current Affairs February 2019
- Current Affairs January 2019
- Current Affairs December 2018
- Current Affairs November 2018
- Current Affairs October 2018
- Current Affairs September 2018
- Govt Jobs
- Exams
- Online Quiz
- You are here
- Home
- Programming Aptitude
- C++ Programming Questions Answers
- C++ Programming Questions Answers - Set 2
- Aptitude Question
- Current Affairs 2019
- Current Affairs 2018
- Current Affairs December 2018
- Current Affairs November 2018
- Current Affairs October 2018
- Current Affairs September 2018
- Current Affairs August 2018
- Current Affairs July 2018
- Current Affairs June 2018
- Current Affairs May 2018
- Current Affairs April 2018
- Current Affairs March 2018
- Current Affairs February 2018
- Current Affairs January 2018
- Current Affairs 2018
- Current Affairs PDF
- Current Affairs PDF Download
- Current Affairs July 2019 PDF
- Current Affairs June 2019 PDF
- Current Affairs May 2019 PDF
- Current Affairs April 2019 PDF
- Current Affairs March 2019 PDF
- Current Affairs February 2019 PDF
- Current Affairs January 2019 PDF
- Current Affairs December 2018 PDF
- Current Affairs November 2018 PDF
- Current Affairs October 2018 PDF
- Current Affairs September 2018 PDF
- Current Affairs August 2018 PDF
- Current Affairs July 2018 PDF
- Current Affairs June 2018 PDF
- Current Affairs May 2018 PDF
- Current Affairs April 2018 PDF
- Current Affairs March 2018 PDF
- Current Affairs February 2018 PDF
- Current Affairs January 2018 PDF
Question Detail
The major goal of inheritance in C++ is ?
- To facilitate the reusability of code
- To help modular programming
- To facilitate the conversion of data types
- To extend the capabilities of a class
Answer: Option A
1. 37. Which of the following statements is false ?
- Using typedef does not replace the standard C++ data type name with the new name
- The new name defined by typedef, can be used as a type for another typedef
- typedef defines new data types
- None of the above
Answer: Option C
2. A class having no public constructors is
- A public protected class
- A public class
- A protected class
- A private class
Answer: Option D
3. int *ptr[5];
- a pointer of 5 int elements
- an array of 5 int pointers
- an array of 5 elements returning an int value
- none of above
Answer: Option B
4. Which among following is not a valid visibility mode in c++ program ?
- Private
- Public
- Protected
- Limited
Answer: Option D
5. The default visibility mode while inheriting is ?
- public
- protected
- private
- may be any of above
Answer: Option C
Thanks ! Your comment will be approved shortly !
- Copyright 2014 - All rights reserved
- Terms Of Use & Privacy Policy
- Contact Us
- Copyright