You are not logged in.

#1 2015-05-26 05:28:45

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Destructor:

Question:
How do we define a destructor?

Option A):
X() ~{}
Option B):
~X() {}
Option C):
X() {}~
Option D):
X~() {}

Correct Answer is Option B):
~X() {}


Failure is the first step towards seccess.

2015-05-26 05:28:45

Advertisement
Ads By Google

Re: Destructor:



Board footer