#include <string.h>
#include <stdio.h>
void a( int* & k)
{
k = (int*)10;
*k = 10;
}
void a(const int* & k)
{
k = (int*)10;
//error不能给常量赋值
//*k = 10;
}
void f( int* & const b)
{
//引用后面的常量被忽略
b = (int*)10;
}
void g(int * const & c)
{
//errror 不能给常量赋值
//c = (int*)10;
}
int main()
{
return 0;
}