adplus-dvertising
frame-decoration

Question

A destructor takes

a.

one argument

b.

two arguments

c.

three arguments

d.

Zero arguments

Answer: (d).Zero arguments

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A destructor takes

Similar Questions

Discover Related MCQs

Q. In C++ a function contained within a class is called

Q. The fields in a class of a C++ program are by default

Q. Which of the following function that must contain in all C++ programs?

Q. What punctuation must use to end the code C/C++ expression statement?

Q. What symbol must use to signal the begaining and ending of code blocks or compound statements?

Q. Which of the following is a correct comment for comment in C programs?

Q. What value will return to the operating system upon the successful completion of a program?

Q. Which one of the following is the correct operator to compare two variables?

Q. Which one of the following is not a correct variable type in C++ programs?

Q. The directives for the preprocessors begin with

Q. The header file iostream includes

Q. Which one of the following is the boolean operator for logical and?

Q. What is the only function all C++ programs must contain?

Q. What punctuation is used to the beginning and end of code blocks?

Q. What punctuation must be used to end lines of C++ code?

Q. Which of the following is a correct comment?

Q. Which of the following is the Boolean operator for logical and?

Q. The file “iostream” includes

Q. NULL Pointer can be used as

Q. Which one of the following is not the advantages of functions?