Question: Q 2 ) How many time the default constructor was called in this code when its executed? ` ` ` class A { public: int
Q How many time the default constructor was called in this code when its executed?
class A
public: int x;
Acout"called
;
xa;~
int main
A;
A xb;
a
b
c
other
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
