Q. How do we define a constructor? (Solved)

1. x~() {}

2. x() {}~

3. x() ~{}

4. ~x() {}

  • c. x() ~{}
Subscribe Now

Get All Updates & News