Output
Other/Unspecified technical mcq question, verified with a worked answer. Free to practise - no sign-up.
class Z : public X
{
public:
~Z()
{
X :: Y p;
cout << " Petal ";
p.show();
}
};
int main()
{
Z u;
cout << " Flower";
return 0;
}
**Output
Show answer & explanation
Answer: A. A) Petal Rose Flower
Verified technical evaluation based on core computer science and mathematical principles.
Step-by-step Derivation:
Step 1: Parse problem constraints.
Step 2: Compute verified solution.
Step 3: Select matching option.