C++ Programming - Constructors and Destructors - Discussion

Discussion :: Constructors and Destructors - General Questions (Q.No.4)

4. 

Destructor has the same name as the constructor and it is preceded by ______ .

[A]. !
[B]. ?
[C]. ~
[D]. $

Answer: Option C

Explanation:

No answer description available for this question.

Napster said: (Jun 23, 2012)  
What is the name of this sign ~ ?

Megha said: (Aug 28, 2012)  
The sign is Tield.......

Priyanka said: (Oct 22, 2012)  
The ~ sign are locate the distructor.

Dwarika said: (Sep 15, 2013)  
(~) known as bitwise operator.

Abhishek Kumar said: (Feb 11, 2014)  
~ (tield) sign is used to declare destructor. Destructor destroys the memory allocated by constructor. Destructor cannot be inherited.

Priyanka said: (Aug 4, 2014)  
This is tield operator which deallocate memory allocation.

Manish said: (Aug 18, 2014)  
What is the work of ~ (tield) sign?

Prabhas Sagar said: (Mar 1, 2016)  
How tield sign works can anyone explain in detailed.

Dilvar Singh said: (Aug 20, 2018)  
~ (tield) sign is used to declare destructor. Destructor destroys the memory allocated by constructor. Destructor cannot be inherited.

Dheeraj said: (Aug 20, 2018)  
How tield sign works can anyone explain in detail?

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.