1234567
class student { public : int static s ; student( ){cout<<++s ;} ~student( ){cout<<--s ;} }; int student ::s = 0; void main ( ) { student s1; student s2(s1); } //output 1 0 -1