C++ Programming and Technical

What is wrong with this class declaration?
class something
{
char *str;
public:
something(){
st = new char[10]; }
~something()
{
delete str;
}
};

Read Solution (Total 0)

C++ Other Question

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? Inheritance is also known as -------- relationship. Containership as ________ relationship