//countpp2.cpp //increment counter variable with ++ operator, return value #include #include class counter { private: unsigned int count; public: counter(){count=0;}//constructor int getcount(){return count;}//return count counter operator ++() { count++; //increment count counter temp;//make a temporary counter temp.count=count;//give it same val as this obj return temp;//return the copy so that temp //can be used to assign value to c2 below } }; void main() { clrscr(); counter c1,c2; cout<<"\nc1="<