Explain virtual class and friend class.


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

Post New Answer

More C++ General Interview Questions

write a program that takes two numbers from user that prints the smallest number

2 Answers  


Define a constructor?

0 Answers  


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

0 Answers  


Explain operator overloading.

0 Answers  


What does new do in c++?

0 Answers  






How many different levels of pointers are there?

0 Answers   Genpact,


Write a program to calculate the BMI of a person using the formula BMI = weight/height2.

2 Answers  


What is meant by iomanip in c++?

0 Answers  


Can we make any program in c++ without using any header file and what is the shortest program in c++.

0 Answers   MCN Solutions,


Can you please explain the difference between static and dynamic binding of functions?

0 Answers  


What is a constructor initializer list and when we use constructor initializer list?

3 Answers   Soft Info, TCS,


why all c++ program must have default constructor?

6 Answers   IBM,


Categories