引用只有在C++中有,在C中没有, int a; int &ra=a; 即声明一个引用,名字是ra,ra引用了a,即给变量a取了一个别名。 string 在C语言中是没有string类型的, 而在C++中string是一个类。