Create a Class Using Constructor and Destructor



Create a Class Using Constructor and Destructor

Create a class Clock with a data member time and member function tick() to increment time and constant function gettime() to share the time with other objects. Use constructor and destructor.

Asked by: Ishika Mittal on Oct 11, 2019.

Be the first to answer this Question !

Your Answer :

Name *:

Email *: (Required but will not be displayed)

» Your answers will be displayed only after manual approval.

Related Questions


No related questions found for this page.

Sponsored Links


Current Affairs

Quick Links