What is the difference between public, private, and protected inheritance?


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

Post New Answer

More C++ Interview Questions

How does free know the size of memory to be deleted

0 Answers  


What is the 4 difference between delete[] and delete?

0 Answers   Alter,


Write a program that can take input from 3 to 8 and calculate the average?

0 Answers   Accenture,


Explain the FOR loop with a help of a code.

0 Answers   Accenture,


What is partial specialization or template specialization?

0 Answers   Amazon,






Define namespace.

1 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  


Write a syntax and purpose of switch statement.

0 Answers   Agilent,


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,


In C++ what is a vtable and how does it work?

0 Answers   Agilent,


What is Advantage and Use of THIS pointer in C++ – Scenarios?

0 Answers  


Tell me about virtual function

1 Answers  


Categories