Question Detail

What is actual syntax of destructor in c++ ?

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

1. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator

2. int *ptr[5];

  • a pointer of 5 int elements
  • an array of 5 int pointers
  • an array of 5 elements returning an int value
  • none of above

3. Inheritance is transitive in nature.

  • True
  • False

4. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

5. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.
Read more from - C++ Programming Questions Answers - Set 2