InterviewGuide icon indicating copy to clipboard operation
InterviewGuide copied to clipboard

【勘误】C++11新标准第二题

Open HHtdea opened this issue 3 years ago • 1 comments

auto k = &i; // 变量i是一个常量, 对常量取地址是一种底层const, 所以b的类型是const int*

注释里的 b 改为 k;

HHtdea avatar Jul 29 '22 05:07 HHtdea

thanks,fixed!

forthespada avatar Aug 26 '22 07:08 forthespada