adplus-dvertising
frame-decoration

Question

The destructors _____________________

a.

Can have maximum one argument

b.

Can’t have any argument

c.

Can have more than one argument

d.

Can’t have more than 3 arguments

Answer: (b).Can’t have any argument

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The destructors _____________________

Similar Questions

Discover Related MCQs

Q. Destructor calls ________________ (C++)

Q. Number of destructors called are

Q. For explicit call _________________

Q. If a class have 4 constructors then it must have 4 destructors also.

Q. Which among the following is true for destructors?

Q. The constructor _____________

Q. The destructors ____________

Q. The destructor can be called before the constructor if required.

Q. Which among the following describes a destructor?

Q. When a destructor is called?

Q. Which among the following is correct for abstract class destructors?

Q. If in multiple inheritance, class C inherits class B, and Class B inherits class A. In which sequence are their destructors called, if an object of class C was declared?

Q. When is the destructor of a global object called?

Q. How the constructors and destructors can be differentiated?

Q. Destructors doesn’t accept parameters.

Q. Destructors can be ________

Q. Global destructors execute in ___________ order after main function is terminated

Q. When is it advised to have user defined destructor?

Q. Which among the following is correct for destructors concept?

Q. When an object is passed to a function, its copy is made in the function and then: