typeid code example Example 1: c++ typeof typeof (int *) Example 2: typeid().name() in c++ int is: int i is: int pi is: int * *pi is: int