download Mastguru Android App

Question Detail

What is actual syntax of destructor in c++ ?

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

1. When a derived class inherits from many base classes, this process is known as ?

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance

2. Constructors has return type void ?

  • True
  • False

3. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

4. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

5. The derived class constructor

  • never passes any values to base class constructor
  • can pass arguments only to one base class constructor function
  • is responsible for passing the entire test of arguments needed by base class constructors
  • none of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment