find type of variable in c++ using types code example Example: c++ how to check type of variable typeid(variable).name()