C and C++
Program to illustrate a static data member & create 3 object & count the no. of object using static data member count
#include<iostream.h> #include<conio.h> class item{ ststic int count; int number; public: void getdata(){ cin>>number; count++; } void getcount(void) { cout<<"count:"<<count<<endl; }...