How to stop class inheritance in C++ with condition that object creation should be allowed


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

Post New Answer

More C++ Interview Questions

Write a C++ Program to Find whether given Number is Odd or Even.

1 Answers  


Write a program that ask for user input from 5 to 9 then calculate the average

0 Answers   IBS,


Write a syntax and purpose of switch statement.

0 Answers   Agilent,


What do you by Function Overloading in C++?

0 Answers   Akamai Technologies, Infogain,


What is static variable and difference between(const char *p,char const *p,const char* const p).

0 Answers   Accenture,


Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  


Explain what happens when an exception is thrown in C++.

0 Answers   Amazon,


What are the major differences between C and C++?

0 Answers   Amazon,


Briefly explain various access specifiers in C++.

0 Answers   Amdocs,


Write a C++ Program to Find Sum and Average of n numbers using for loop.

1 Answers  


Can we call a virtual function from a constructor?

1 Answers  


Name the operators that cannot be overloaded.

1 Answers   Wipro,


Categories