A recent C++ article compared C and C++ pointers, stating that C++ pointers have attributes such as ‘type’. Is there a way to find the type of a pointer selected from an array of pointers, and use that pointer to guide the next step in the program?