#include <iostream>
#include <typeinfo> using namespace std;
int main () { int * a,b;
a=0; b=0; if (typeid(a) != typeid(b))
{
cout << "a and b are of different types:\n";
cout << "a is: " << typeid(a).name() << '\n';
cout << "b is: " << typeid(b).name() << '\n';
} return 0;
}