If class D is derived from a base class B


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ Interview Questions

C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


What are issues if we mix new and free in C++?

0 Answers  


Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  


What is a memory leak in C++?

0 Answers   Agilent,


Explain function prototypes in C++.

0 Answers   Aricent,


What does it mean to take the address of a reference?

0 Answers   Amazon,


What is wrong with this statement? std::auto_ptr ptr(new char[10]);

0 Answers   Amazon,


What Are The Differences Between A C++ Struct And C++ Class?

2 Answers   Wipro,


Without using third variable write a code to swap two numbers.

0 Answers   Accenture,


When must you use a constructor initializer list?

0 Answers   Amazon,


What are the advantages/disadvantages of using #define?

0 Answers   Amazon,


If class D is derived from a base class B

0 Answers  


Categories