C++ interview questions part 16

C++ interview questions part 16

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. How many kinds of entities are directly parameterized in c++?

Correct Answer is : Standard logging stream

2. How many kinds of parameters are there in C++?

Correct Answer is : 5593.54

3. Where is the derived class is derived from?

Correct Answer is : Error

4. Pick out the correct statement.

Correct Answer is : Caught Derived Class Exception

5. Which of the following can derived class inherit?

Correct Answer is : Depends on compiler

6. Which operator is used to declare the destructor?

Correct Answer is : Is-A relationship

7. Which constructor will initialize the base class data member?

Correct Answer is : Through the objects of classes

8. Which interface determines how your class will be used by another program?

Correct Answer is : 4

9. Pick out the correct statement about the override.

Correct Answer is : All of the mentioned

10. How many ways of reusing are there in the class hierarchy?

Correct Answer is : Association

11. How many types of class are there in c++?

Correct Answer is : Part-Of relationship

12. Pick out the correct statement about multiple inheritances.

Correct Answer is : Both Aggregation and Composition

13. What does inheritance allow you to do?

Correct Answer is : strong

14. What is the syntax of inheritance of class?

Correct Answer is : weak

15. Identify the incorrect option.

Correct Answer is : Has-A relationship

16. In which type do the enumerators are stored by the compiler?

Correct Answer is : template class declaration

17. Which keyword is used to handle the expection?

Correct Answer is : All of the mentioned

18. How do define the user-defined exceptions?

Correct Answer is : rect area: 12

19. Which exception is thrown by dynamic_cast?

Correct Answer is : execute

20. Which alternative can replace the throw statement?

Correct Answer is : class A { int x; };

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon