#include<iostream>
#include<typeinfo>
using namespace std;
int main()
{
int x;
cout << typeid(x).name() << endl;
system("pause");
return 0;
}
Hubert's Coding Notes
Useful notes for CS people
#include<iostream>
#include<typeinfo>
using namespace std;
int main()
{
int x;
cout << typeid(x).name() << endl;
system("pause");
return 0;
}