Question Detail

What is actual syntax of destructor in c++ ?

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

1. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

2. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

3. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above

4. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

5. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above
Read more from - C++ Programming Questions Answers - Set 2