Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 212 Bytes

File metadata and controls

14 lines (7 loc) · 212 Bytes

运行结果:

a=42

b=42

c=42

错误,试图为一个指针赋值而不是赋地址

错误,const int *不能转换为int

错误,Cannot assign to variable 'g' with const-qualified type 'const int &'