How To Check The Type Of An Object In C