一、代码 #include<iostream> #include<typeinfo> using namespace std; int main(){ bool a; char b; short c; int d; long e; float f; double g; long long h; cout<<typeid(a).