原创 C++引用

1、引用的使用 引用必須在定義時候初始化,後期綁定不能更改 ,可以相當於 * const int rats=101; int & rodents=rats; //等價於 int * const rodents =&rats;