c++ how to see the type of a variable code example
Example: how to check datatype of a variable in c++
#include <typeinfo>
...
cout << typeid(variable).name() << endl;
#include <typeinfo>
...
cout << typeid(variable).name() << endl;