C++ Programming and Technical

Each C++ object possesses the 4 member fns,(which can be declared by the programmer explicitly or by the implementation if they are not available). What are those 4 functions?

Read Solution (Total 0)

C++ Other Question

Justify the use of virtual constructors and destructors in C++. What is wrong with this class declaration?
class something
{
char *str;
public:
something(){
st = new char[10]; }
~something()
{
delete str;
}
};