download Mastguru Android App

Question Detail

How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}
Similar Questions :

1. Meaning of PDB

  • Physical Database File
  • Program Database File
  • Program Direct File
  • None of above

2. What is abstract class

  • Whose objects cant be created
  • Whose objects can be created
  • Depends on class
  • None of above

3. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab

4. Which is not C++ storage class

  • auto
  • register
  • static
  • iostream

5. How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment