oops/staticmember.cpp
int c1::get_resources(){
	if(resource) return 0;  //resource in use
	
	else{
		resource =1;
		return 1;  //resource allocated
	}
}
//initial value is always 0 for static
initial value is always 0 for static
initial value is always 0 for static
int c1::get_resources(){
	if(resource) return 0;  
	else{
		resource =1;
		return 1;  
	}
}
int c1 :: get_resources ( ) { if ( resource ) return 0 ; else { resource = 1 ; return 1 ; } }
initial value is always 0 for static
initial value is always 0 for static
//resource in use //resource allocated