Answer
This question is compilable and deterministic.
Its output is “BA”.
Explanation
The initialization order of member variables is determined by their order of declaration, not their order in the initialization list.
This question is compilable and deterministic.
Its output is “BA”.
The initialization order of member variables is determined by their order of declaration, not their order in the initialization list.