Salient Features of India constitution especially power and functions
Static Variable in C++
1. 1) Example of static variable
#include <iostream>
using namespace std;
int A()
{ static int count =0;
count++;
return count;
}
void main ()
{
cout<<"Call to A : " << A()<<endl;
cout<<"Call to A : " << A()<<endl;
}