Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which of the following statements do incorrectly describe the characteristics of destructors?

  Shared By: David Evans    Date: Oct 18    Category: C++ Programming    Views: 1324

Answer:

I. A destructor is a member function, which has the same name as class name
II. A destructor receives only one argument
III. A destructor does not return any value
IV. Usage of destructors in a program clean up memory space that is not used

Options

a) Both I and II
b) All are incorrect
c) Both II and III
d) I, II and IV

Answer : a) Both I and II

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].