static function program in Cplusplus

#include<iostream>
using namespace std;
class hamza
{
private:
static int a;
public:
hamza()
{
a++;
}
static void show()
{
cout<<a;
}
};
int hamza::a=0;
int main()
{
hamza g,h,k,o,saqaga_blogspot_com,a;
hamza::show();
}
static function program in Cplusplus static function program in Cplusplus Reviewed by Hamza Bashir Ahmad on 08:41:00 Rating: 5