|This example explains the followings:
|As shown in the above figure, as we start the initial value of the
static filed with "0" and as we go entering the player's name the number
increases as we go on adding the players.
The program will exit when both the entries are empty. It was our intention, if ((id != "" )||(name !="")), and can be modified as desired.
At the end you would notice "Overloaded destructor evoked" would one number more than the instances where we added players. The static field as set with the initial value, it will keep adding a value over the initial value.