Const

const int x=100;不能修改 仍然是变量

extern const int bufsize;声明

 const int & z=x;

不能通过z改变,z不能做坐直

int &a=x;

int &b=y;

a=b;

x=y;

原文地址:https://www.cnblogs.com/-Asurada-/p/10732094.html