info@avatto.com
+91-9920808017
0. Class A
{ public :
A(void)
{cout << "Howzaht" ; }
~ A(void)
{cout << "whatizit " ; }
};
class B:A
{ public:
~ B (void)
{
cout << "WYSIWYG" ;
}
cout << "YACC" ;
The declaration B x;
prints Howzhat WYSIWYG YACC Whatizit
prints nothing
prints YACC Whatizit Howzhat WYSIWYG
none of the above
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.