Question Detail

What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )
Similar Questions :

1. Can we define array of classes in c++ ?

  • Yes
  • No

2. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

3. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

4. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

5. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded
Read more from - C++ Programming Questions Answers - Set 2