Which constructor will be called by the following lines of code?
(i) Student S1;
(ii) Student S2 = S1;
1
First copy constructor, then default constructor.
2
First default constructor, then copy constructor.
3
Default constructor for both lines of code.
4
Copy constructor for both lines of code.