11.typeid

 1 #include <iostream>
 2 using namespace std;
 3 
 4 
 5 void main()
 6 {
 7     int a;
 8     cout << typeid(a).name() << endl;
 9     cin.get();
10 }
原文地址:https://www.cnblogs.com/xiaochi/p/8543780.html