void* p=(void*)123; int a=(int)p; void* p1=(void*)TWO; int a1=(int)p1; MYENUM a2=(MYENUM)a1; cout<<a<<endl; cout<<a1<<endl;