Define virtual constructor.


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

Post New Answer

More C++ General Interview Questions

What is class syntax c++?

0 Answers  


What's the order in which the objects in an array are destructed?

0 Answers  


What is a parameterized type?

1 Answers  


What is exception handling in C++?

1 Answers  


How is c++ used in the real world?

0 Answers  


Can we define a constructor as virtual in c++?

0 Answers  


What are the uses of pointers?

0 Answers  


What is a template in c++?

3 Answers  


Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.

0 Answers   Maxobiz,


int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } What will be output of this program?

11 Answers   HCL, Mphasis,


What is realloc() and free()? What is difference between them?

1 Answers  


When one must use recursion function? Mention what happens when recursion functions are declared inline?

0 Answers  


Categories