判断变量类型是否匹配如:int a;char b;如何写代码判断a和b的类型是否一样
int main() { int a; char b; // int b; if (typeid(a) == typeid(b)) printf("identical"); }