21.A program to display how many instantiation of a class object has been created using static data member declaration. This program is to demonstrate how the static data member is used to keep track of the number of instantiation of a class created. Whenever a new object of the class is made, the static counter updates automatically
22.A program to check how many instances of the class object are created using the static member function.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here