What are virtual constructors/destructors?


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 read 2o numbers in and array and output the second largest number. Can anybody help??

7 Answers  


what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??

4 Answers  


what is the basic concept of c++(object oriented programing)

4 Answers   Wipro,


What is the size of a vector?

0 Answers  


What is c++ 11 and c++ 14?

0 Answers  






What do you mean by abstraction in C++?

1 Answers  


Can we change the basic meaning of an operator in c++?

0 Answers  


What is meant by iomanip in c++?

0 Answers  


why the size of an empty class is 1

4 Answers  


In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.

5 Answers   GE,


Explain what happens when a pointer is deleted twice?

0 Answers  


an operation between an integer and real always yeilds a) integer result b) real result c) float result

0 Answers  


Categories