Write a simple program where there are one constructor and one destructor. Write a static variable named
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a simple program where there are one constructor and one destructor. Write a static variable named count to calculate the object number. In the main function creates some objects. A sample of the class & the main function and the expected output are shown here.
Posted Date: