1.

If two classes are defined “Parent” and “Child” then which is the correct type upcast syntax in C++?$

A. Parent *p=child;
B. Parent *p=*child;
C. Parent *p=&child;
D. Parent *p=Child();
Answer» E.


Discussion

No Comment Found