download Mastguru Android App

Question Detail

What is actual syntax of destructor in c++ ?

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

1. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

2. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for

3. Classes that can be used to instantiate objects are called concrete classes.

  • True
  • False

4. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve

5. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment