#include
#include
#include
class man
{
int no;
static int count;
public:
man()
{
count++;
cout<<"\n
The no of objects created are:\t"<
}
~man()
{
cout<<"\n
The no of objects destroyed are:\t"<
}
};
int man::count;
void main()
{
clrscr();
man a,b,c;
man d;
}
Copyright © 2011 - All Rights Reserved - Softron.in
Template by Softron Technology