What are virtual constructors/destructors?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
what is the basic concept of c++(object oriented programing)
What is the size of a vector?
What is c++ 11 and c++ 14?
What do you mean by abstraction in C++?
Can we change the basic meaning of an operator in c++?
What is meant by iomanip in c++?
why the size of an empty class is 1
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.
Explain what happens when a pointer is deleted twice?
an operation between an integer and real always yeilds a) integer result b) real result c) float result