hi.

class Father // super class
{
...
}

class Child : public Father // subclass 
{
...
void main(){
Father f;
Child ch;

f = ch; // statement-1
ch = f; // statement-2
}
which one of statements is valid?and what happend if these two statements is 
executed?
tnx!

Reply via email to